if scope != LogScope.SAME:
m = self._client_mngrs[kwargs['client_id']]
if scope == LogScope.ALL:
- return m.windows
+ return [w for w in m.windows
+ if w.scope not in {LogScope.SERVER, LogScope.RAW}]
if scope == LogScope.SERVER:
return [m.window(LogScope.SERVER), m.window(LogScope.RAW)]
if scope == LogScope.CHAT:
# on /connect init databases, log in new windows
> /connect foo.bar.baz foo:bar foobarbazquux:baz
-1,2 $ DISCONNECTED
+, $ DISCONNECTED
1,2 $ isupport cleared
1,2 $ isupport:CHANTYPES set to: [#&]
1,2 $ isupport:PREFIX set to: [(ov)@+]
1,2 $ port set to: [6697]
1,2 $ connection_state set to: [connecting]
1,2 $ connection_state set to: [connected]
-1,2 $ CONNECTED
+, $ CONNECTED
2 > CAP LS :302
2 > USER foobarbazquux 0 * :baz
2 > NICK :foo
2 < ERROR :Closing link: (~foobarbaz@baz.bar.foo) [Quit: ircplom says bye]
1,2 $ connection_state set to: [Closing link: (~foobarbaz@baz.bar.foo) [Quit: ircplom says bye]]
1,2 $ connection_state set to: []
-1,2,3,4,5,6 $ DISCONNECTED
+3,4,5,6 $ DISCONNECTED
1,2 $ isupport cleared
1,2 $ isupport:CHANTYPES set to: [#&]
1,2 $ isupport:PREFIX set to: [(ov)@+]
# check that (save TUI tests assuming start on window 0, and no 4 yet) on reconnect, all the same effects can be expected
> /reconnect
repeat 63:65
-1,2,3,4,5,6 $ CONNECTED
+3,4,5,6 $ CONNECTED
repeat 66:147
repeat 159:341