diff --git a/irc/rc.py b/irc/rc.py index 6b4d85e..2c913b0 100644 --- a/irc/rc.py +++ b/irc/rc.py @@ -40,7 +40,7 @@ class RC(object): event_type = "protection" # "New protection:" elif flags == "create": event_type = "user" # "New user:" - if page == "Special:Log/move": + if self.page == "Special:Log/move": event_type = "move" # New move: else: event_type = "edit" # "New edit:"