Browse Source

Drop underscore prefix on CONNCLOSED

master
JustAnotherArchivist 3 years ago
parent
commit
396b122c6a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      irclog.py

+ 2
- 2
irclog.py View File

@@ -563,7 +563,7 @@ class IRCClientProtocol(asyncio.Protocol):
self.connectionClosedEvent.set()
self.messageQueue.put_nowait((time_, b'- Connection closed.', None, None))
for channel in self.channels:
self.messageQueue.put_nowait((time_, 'Connection closed.', '_CONNCLOSED', channel))
self.messageQueue.put_nowait((time_, 'Connection closed.', 'CONNCLOSED', channel))


class IRCClient:
@@ -724,7 +724,7 @@ class WebServer:
logStyleTag = '<style>' + " ".join([
'tr:target { background-color: yellow; }',
'tr.command_JOIN { color: green; }',
'tr.command_QUIT, tr.command_PART, tr.command_KICK, tr.command__CONNCLOSED { color: red; }',
'tr.command_QUIT, tr.command_PART, tr.command_KICK, tr.command_CONNCLOSED { color: red; }',
'tr.command_NAMES { display: none; }',
'tr.command_NICK, tr.command_ACCOUNT, tr.command_MODE, tr.command_TOPIC, tr.command_TOPICWHO, tr.command_WHOX { color: grey; }'
]) + '</style>'


Loading…
Cancel
Save