diff --git a/plugins/Services/plugin.py b/plugins/Services/plugin.py index 12a13b82a..053134265 100644 --- a/plugins/Services/plugin.py +++ b/plugins/Services/plugin.py @@ -264,6 +264,10 @@ class Services(callbacks.Plugin): on) elif 'inviting' in s: self.log.debug('Got "Inviting to channel" from ChanServ %s.', on) + elif s.startswith('['): + chanTypes = irc.state.supported['CHANTYPES'] + if re.match(r'^\[[%s]' % re.escape(chanTypes), s): + self.log.debug('Got entrymsg from ChanServ %s.', on) else: self.log.warning('Got unexpected notice from ChanServ %s: %r.', on, msg) diff --git a/src/irclib.py b/src/irclib.py index a8e1f1e78..dfb73022b 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -910,6 +910,7 @@ class Irc(IrcCommandDispatcher): self.lastTake = 0 self.server = 'unset' self.afterConnect = False + self.startedAt = time.time() self.lastping = time.time() self.outstandingPing = False