Fix bug #1094020, AttributeError in Anonymous.say

This commit is contained in:
James Vega 2005-01-02 00:21:07 +00:00
parent 48c5a3950f
commit c4df7970ae

View File

@ -89,7 +89,7 @@ class Anonymous(callbacks.Privmsg):
c = ircdb.channels.getChannel(channel) c = ircdb.channels.getChannel(channel)
if c.lobotomized: if c.lobotomized:
irc.error('I\'m lobotomized in %s.' % channel, Raise=True) irc.error('I\'m lobotomized in %s.' % channel, Raise=True)
if not c.checkCapability(self.name()): if not c._checkCapability(self.name()):
irc.error('That channel has set its capabilities so as to ' irc.error('That channel has set its capabilities so as to '
'disallow the use of this plugin.', Raise=True) 'disallow the use of this plugin.', Raise=True)