From add3ceb4e7e17e8dd5e3062b583d8e5bde20bfd6 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 27 Jan 2018 12:51:15 -0800 Subject: [PATCH] Services: do not send the bot's nick in ChanServ commands On Atheme, Anope, and oftc-ircservices, /cs unban, invite, op, and voice implicitly assume the caller if no nick is given. However, certain combinations such as /cs invite *with* a nick are not supported on atheme per https://github.com/atheme/atheme/issues/568, and cause rejoin-on-kick to +i channels to fail. This fixes one part of GH-1118. --- plugins/Services/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Services/plugin.py b/plugins/Services/plugin.py index e58f969e5..52c20f859 100644 --- a/plugins/Services/plugin.py +++ b/plugins/Services/plugin.py @@ -405,7 +405,7 @@ class Services(callbacks.Plugin): chanserv = self.registryValue('ChanServ') if chanserv: msg = ircmsgs.privmsg(chanserv, - ' '.join([command, channel, irc.nick])) + ' '.join([command, channel])) irc.sendMsg(msg) else: if log: