瀏覽代碼

only forward notice to owners

tBKwtWS 7 年之前
父節點
當前提交
dd8ade6424
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      irc/bot.py

+ 1 - 1
irc/bot.py

@@ -122,7 +122,7 @@ class PyRot(irc.bot.SingleServerIRCBot):
         commands.admin.do_command(self, connection, event)
         commands.statistics.do_command(self, connection, event)
         commands.games.do_command(self, connection, event)
-        Inform.operators(self, connection, "PM from " + red + red + event.source.nick + grey + ": " + reset + event.arguments[0] + ".")
+        Inform.owners(self, connection, "PM from " + red + red + event.source.nick + grey + ": " + reset + event.arguments[0] + ".")
     
     def on_pubnotice(self, connection, event):
         log.info(event)