Hmm...maybe this is the second part of the disabling-network commit? Who knows.

This commit is contained in:
Jeremy Fincher 2004-10-04 10:01:23 +00:00
parent 68844cda3a
commit 48b3ce5b73

View File

@ -220,6 +220,8 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
disabled = self.registryValue('disabledNetworks') disabled = self.registryValue('disabledNetworks')
if irc.network in disabled or \ if irc.network in disabled or \
irc.state.supported.get('NETWORK', '') in disabled: irc.state.supported.get('NETWORK', '') in disabled:
self.log.verbose('Ignoring message from %s, %s is disabled.',
irc, irc.network)
return return
self.__parent.__call__(irc, msg) self.__parent.__call__(irc, msg)
nick = self._getNick() nick = self._getNick()