Browse Source

On keyset

tBKwtWS 7 years ago
parent
commit
b267df0bfe
1 changed files with 3 additions and 2 deletions
  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)