tBKwtWS 6 年 前
コミット
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)