소스 검색

spelling error

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

+ 1 - 1
irc/bot.py

@@ -123,7 +123,7 @@ class PyRot(irc.bot.SingleServerIRCBot):
         commands.statistics.do_command(self, connection, event)
         commands.games.do_command(self, connection, event)
         if not event.source == connection.get_nickname():
-            if event.arguemnts[0] == "Password authentication required for that command.":
+            if event.arguments[0] == "Password authentication required for that command.":
                 return
             Inform.owners(self, connection, "PM from " + red + red + event.source.nick + grey + ": " + reset + event.arguments[0] + ".")