aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-10 08:57:41 +0100
committerGravatar jesopo2018-09-10 08:57:41 +0100
commit9916618889501b0fd27424bd2aaed016a321aca1 (patch)
tree364601ace4e54269bc9b7b0f7eb9702883cb7ada /IRCLineHandler.py
parentAdd support for IRCv3's batch and draft/labeled-response (diff)
signature
Send '111' as the default WHOX token, not '001', as some servers cut that down
to '1'
Diffstat (limited to 'IRCLineHandler.py')
-rw-r--r--IRCLineHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index 4749197e..1493ce77 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -210,7 +210,7 @@ class LineHandler(object):
# on-join user list has finished
def handle_366(self, event):
- event["server"].send_whox(event["args"][1], "ahnrtu", "001")
+ event["server"].send_whox(event["args"][1], "ahnrtu", "111")
# on user joining channel
def join(self, event):
@@ -542,7 +542,7 @@ class LineHandler(object):
user.hostname = event["args"][3]
# response to a WHOX command for user information, including account name
def handle_354(self, event):
- if event["args"][1] == "001":
+ if event["args"][1] == "111":
username = event["args"][2]
hostname = event["args"][3]
nickname = event["args"][4]