]> jfr.im git - erebus.git/blobdiff - bot.py
modify eval to use modlib module lookup helper
[erebus.git] / bot.py
diff --git a/bot.py b/bot.py
index f77f2769734bf82c233120554cd5594675b27237..f043b96c699ab573b4a50d97446daf828554e63a 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -97,7 +97,7 @@ class Bot(object):
                        if newnick.lower() != oldnick.lower():
                                self.parent.users[newnick.lower()] = self.parent.users[oldnick.lower()]
                                del self.parent.users[oldnick.lower()]
-                       self.parent.users[newnick.lower()].nick(newnick)
+                       self.parent.users[newnick.lower()].nickchange(newnick)
 
                elif pieces[1] == "MODE": #TODO parse for ops/voices (at least)
                        pass