core/commands: code style fixes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
99df5f5f23
commit
cf0d222625
1 changed files with 3 additions and 3 deletions
|
@ -452,8 +452,8 @@ class CommandCore:
|
|||
password = args[2] if len(args) > 2 else None
|
||||
|
||||
method = 'remote' if config.get('use_remote_bookmarks') else 'local'
|
||||
autojoin = method == 'local' or \
|
||||
(len(args) > 1 and args[1].lower() == 'true')
|
||||
autojoin = (method == 'local' or
|
||||
(len(args) > 1 and args[1].lower() == 'true'))
|
||||
|
||||
self._add_bookmark(room, nick, autojoin, password, method)
|
||||
|
||||
|
|
Loading…
Reference in a new issue