Ver código fonte

part homechannel fix

tBKwtWS 7 anos atrás
pai
commit
73e53f3944
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      irc/commands/admin.py

+ 1 - 1
irc/commands/admin.py

@@ -151,7 +151,7 @@ def do_command(self, connection, event):
                         connection.privmsg(replyto, "Denied. You need to have at least operator status in " + red + self.homechan + reset + " or " + red + event.target + reset + ".")
                         return
                     if event.target == self.homechannel:
-                        connection.action("shall not abandon it's home channel!")
+                        connection.action(replyto, "shall not abandon it's home channel!")
                         return
                     connection.part(event.target, event.source.nick)
                 else:   # It's a PM.