Fix cmds.Who instead of just Who in gpxebot.py
authorStefan Hajnoczi <stefanha@gmail.com>
Sun, 28 Jun 2009 16:37:45 +0000 (17:37 +0100)
committerStefan Hajnoczi <stefanha@gmail.com>
Sun, 28 Jun 2009 16:37:45 +0000 (17:37 +0100)
gpxebot.py

index 45f11a8..bc3f122 100755 (executable)
@@ -167,7 +167,7 @@ while not restart:
 
     if cmdfifo in rlist:
         words = cmdfifo.readline().strip().split()
 
     if cmdfifo in rlist:
         words = cmdfifo.readline().strip().split()
-        restart = do_response(cmds.do_command(Who(config.NICK, True), config.NICK, config.NICK, words)) or restart
+        restart = do_response(cmds.do_command(cmds.Who(config.NICK, True), config.NICK, config.NICK, words)) or restart
 
 cmdfifo.close()
 
 
 cmdfifo.close()