Update to freenode's new capability mechanism
authorStefan Hajnoczi <stefanha@gmail.com>
Sat, 20 Mar 2010 05:16:28 +0000 (05:16 +0000)
committerStefan Hajnoczi <stefanha@gmail.com>
Sat, 20 Mar 2010 05:16:28 +0000 (05:16 +0000)
gpxebot.py

index bc3f122..65c52d7 100755 (executable)
@@ -34,7 +34,7 @@ def autojoin():
     # Receive '+' or '-' indicator with every message showing whether the
     # sender is identified to nick services.  Only identified users may be bot
     # operators.
-    cmd('CAPAB IDENTIFY-MSG')
+    cmd('CAP REQ :identify-msg')
 
     return do_response(cmds.readrc_command())