tBKwtWS 6 ani în urmă
părinte
comite
b5aef26d72
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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)