mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fix bug #1094020, AttributeError in Anonymous.say
This commit is contained in:
parent
48c5a3950f
commit
c4df7970ae
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user