From 0c97cb488f072e2d59226af227dc5d6c4c5ac631 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 29 Aug 2004 15:56:43 +0000 Subject: [PATCH] debug log access level required from chanserv as well as some elucidating comments. --- plugins/Services.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/Services.py b/plugins/Services.py index 6c5c7042d..b4ca8462c 100644 --- a/plugins/Services.py +++ b/plugins/Services.py @@ -291,12 +291,18 @@ class Services(privmsgs.CapabilityCheckingPrivmsg): # You have been unbanned from (oftc) irc.sendMsg(ircmsgs.join(channel)) 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', channel) elif 'this channel has been registered' in s: self.log.debug('Got "Registered channel" from ChanServ.') 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.') + 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: self.log.warning('Got unexpected notice from ChanServ: %r.', msg)