def irc_RPL_INVITELIST(self, prefix, params): """ Called when RPL_INVITELIST reply is received from the server. """ channel, invitemask, nick, ident, host, t, hostmask = processListReply(params) self._invitelist.setdefault(channel, []).append((invitemask, hostmask, t, nick)) self.dispatch(self, "inviteList", prefix=prefix, params=params, target=channel, invitemask=invitemask, hostmask=hostmask, timeofban=t, nick=nick, ident=ident, host=host)
def irc_RPL_EXCEPTLIST(self, prefix, params): """ Called when RPL_EXCEPTLIST reply is received from the server. """ channel, exceptmask, nick, ident, host, t, hostmask = processListReply(params) self._exceptlist.setdefault(channel, []).append((exceptmask, hostmask, t, nick)) self.dispatch(self, "exceptList", prefix=prefix, params=params, target=channel, exceptmask=exceptmask, hostmask=hostmask, timeofban=t, nick=nick, ident=ident, host=host)