mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +01:00
commit
38072df6da
@ -97,11 +97,20 @@ class Admin(callbacks.Plugin):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
self.log.debug('Got 475 without Admin.join being called.')
|
self.log.debug('Got 475 without Admin.join being called.')
|
||||||
|
|
||||||
|
def do477(self, irc, msg):
|
||||||
|
try:
|
||||||
|
channel = msg.args[1]
|
||||||
|
(irc,msg) = self.joins.pop(channel)
|
||||||
|
irc.error(_('Cannot join %s, I\'m not identified with '
|
||||||
|
'NickServ.') % channel)
|
||||||
|
except KeyError:
|
||||||
|
self.log.debug('Got 477 without Admin.join being called.')
|
||||||
|
|
||||||
def do515(self, irc, msg):
|
def do515(self, irc, msg):
|
||||||
try:
|
try:
|
||||||
channel = msg.args[1]
|
channel = msg.args[1]
|
||||||
(irc, msg) = self.joins.pop(channel)
|
(irc, msg) = self.joins.pop(channel)
|
||||||
irc.error(_('Cannot join %s, I\'m not identified with the '
|
irc.error(_('Cannot join %s, I\'m not identified with '
|
||||||
'NickServ.') % channel)
|
'NickServ.') % channel)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.log.debug('Got 515 without Admin.join being called.')
|
self.log.debug('Got 515 without Admin.join being called.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user