mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-24 01:20:41 +01:00
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.
This commit is contained in:
parent
eb1cb9bd76
commit
add3ceb4e7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user