mirror of https://github.com/Mikaela/Limnoria.git
debug log access level required from chanserv as well as some elucidating comments.
This commit is contained in:
parent
55a1e94c04
commit
0c97cb488f
|
@ -291,12 +291,18 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
|
||||||
# You have been unbanned from (oftc)
|
# You have been unbanned from (oftc)
|
||||||
irc.sendMsg(ircmsgs.join(channel))
|
irc.sendMsg(ircmsgs.join(channel))
|
||||||
elif 'isn\'t registered' in s:
|
elif 'isn\'t registered' in s:
|
||||||
|
# XXX We should notify the user that this happened as well.
|
||||||
self.log.info('Received "%s isn\'t registered" from ChanServ',
|
self.log.info('Received "%s isn\'t registered" from ChanServ',
|
||||||
channel)
|
channel)
|
||||||
elif 'this channel has been registered' in s:
|
elif 'this channel has been registered' in s:
|
||||||
self.log.debug('Got "Registered channel" from ChanServ.')
|
self.log.debug('Got "Registered channel" from ChanServ.')
|
||||||
elif 'already opped' in s:
|
elif 'already opped' in s:
|
||||||
|
# This shouldn't happen, Services.op should refuse to run if
|
||||||
|
# we already have ops.
|
||||||
self.log.debug('Got "Already opped" from ChanServ.')
|
self.log.debug('Got "Already opped" from ChanServ.')
|
||||||
|
elif 'access level' in s and 'is required' in s:
|
||||||
|
# XXX We should notify the user that this happened.
|
||||||
|
self.log.debug('Got "Access level required" from ChanServ.')
|
||||||
else:
|
else:
|
||||||
self.log.warning('Got unexpected notice from ChanServ: %r.', msg)
|
self.log.warning('Got unexpected notice from ChanServ: %r.', msg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue