Made sure it doesn't relay CTCP messages.

This commit is contained in:
Jeremy Fincher 2003-12-10 18:50:35 +00:00
parent 3f6d347e2b
commit b7fbaedcad
1 changed files with 1 additions and 1 deletions

View File

@ -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)