update.results += [(_LogScope.SERVER, [f':{line}'])]
elif update.value == 'connected':
update.results += [(_LogScope.ALL, [':CONNECTED'])]
- elif not update.value:
- update.results += [(_LogScope.ALL, [':DISCONNECTED'])]
+ elif update.value == '':
+ update.results += [(_LogScope.ALL, [':NOT CONNECTED'])]
elif update.key == 'message' and update.value:
assert isinstance(update.value, ChatMessage)
is_server_msg = not (update.value.sender or update.value.target)
× connect
> /connect foo.bar.baz:6697 foo bar:baz
insert isupport-clear 1: +1
-log , $ DISCONNECTED
+log , $ NOT CONNECTED
log 1 $ hostname set to: [foo.bar.baz]
log 1 $ port set to: [6697]
log 1 $ nick_wanted set to: [foo]