tBKwtWS 6 лет назад
Родитель
Сommit
b5aef26d72
1 измененных файлов с 2 добавлено и 2 удалено
  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)