tBKwtWS hace 6 años
padre
commit
b5aef26d72
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      rotbot/events/on_pubmsg.py

+ 2 - 2
rotbot/events/on_pubmsg.py

@@ -43,5 +43,5 @@ def process_event(self, connection, event):
         connection.privmsg(event.target, event.arguments[0] + event.arguments[0][:1])
 
         # Update lastlame.
-        queries.update_channel_last_lame(self, channel_id)
-        queries.update_user_last_lame(self, user_id)
+        queries.update_channel_last_lame(self, channel.id)
+        queries.update_user_last_lame(self, user.id)