mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Made sure it doesn't relay CTCP messages.
This commit is contained in:
parent
3f6d347e2b
commit
b7fbaedcad
@ -515,7 +515,7 @@ class Relay(callbacks.Privmsg, configurable.Mixin):
|
||||
irc = irc.getRealIrc()
|
||||
if self.started and ircutils.isChannel(msg.args[0]):
|
||||
channel = msg.args[0]
|
||||
if channel not in self.channels:
|
||||
if channel not in self.channels or ircutils.isCtcp(msg):
|
||||
return
|
||||
abbreviation = self.abbreviations[irc]
|
||||
s = self._formatPrivmsg(msg.nick, abbreviation, msg)
|
||||
|
Loading…
Reference in New Issue
Block a user