소스 검색

On keyset

tBKwtWS 7 년 전
부모
커밋
b267df0bfe
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      irc/bot.py

+ 3 - 2
irc/bot.py

@@ -158,9 +158,10 @@ class PyRot(irc.bot.SingleServerIRCBot):
     def on_whoreply(self, connection, event):
         events.on_whoreply.process_event(self, connection, event)
     
-    def on_userhost(self, connection, event):
+    
+    def on_keyset(self, connection, event):
         log.info(event)
-        
+        Inform.owners(self, connection, "keyset " + green + event.arguments[0] + reset + " from " + red + event.source)
     
     def on_yourhost(self, connection, event):
         log.info(event)