Explorar el Código

part homechannel fix

tBKwtWS hace 7 años
padre
commit
73e53f3944
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.