diff options
| author | 2018-08-29 12:54:47 +0100 | |
|---|---|---|
| committer | 2018-08-29 12:54:47 +0100 | |
| commit | 4045c55ba3979c5d645e51bed87ba665649d5dcd (patch) | |
| tree | bea4bade6c4d17a26e6cbe7cfa47d031439ec676 | |
| parent | Fix CAP logic that was broken by recent IRCLineHandler refactor (diff) | |
| signature | ||
Add missing comments in IRCLineHandler.LineHandler
| -rw-r--r-- | IRCLineHandler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py index 01fdc1e1..6ca846dc 100644 --- a/IRCLineHandler.py +++ b/IRCLineHandler.py @@ -86,15 +86,18 @@ class LineHandler(object): line=line, line_split=line.split(" "), command=command, server=server) + # ping from the server def ping(self, event): nonce = event["arbitrary"] event["server"].send_pong(nonce) + # first numeric line the server sends def handle_001(self, event): event["server"].name = Utils.remove_colon(event["prefix"]) event["server"].set_own_nickname(event["args"][0]) event["server"].send_whois(event["server"].nickname) + # server telling us what it supports def handle_005(self, event): isupport_line = " ".join(event["args"][1:]) if "NAMESX" in isupport_line: |
