mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +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()
|
irc = irc.getRealIrc()
|
||||||
if self.started and ircutils.isChannel(msg.args[0]):
|
if self.started and ircutils.isChannel(msg.args[0]):
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
if channel not in self.channels:
|
if channel not in self.channels or ircutils.isCtcp(msg):
|
||||||
return
|
return
|
||||||
abbreviation = self.abbreviations[irc]
|
abbreviation = self.abbreviations[irc]
|
||||||
s = self._formatPrivmsg(msg.nick, abbreviation, msg)
|
s = self._formatPrivmsg(msg.nick, abbreviation, msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user