From b7fbaedcadef7a79fe30ff2b8bd4ba05fe9ce1c6 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 10 Dec 2003 18:50:35 +0000 Subject: [PATCH] Made sure it doesn't relay CTCP messages. --- plugins/Relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Relay.py b/plugins/Relay.py index acb526ff4..1ad1664a2 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -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)