def on_invite(event, irc):
hostmask = event.source.host
channel = event.arguments[0]
if util.check_perms(hostmask, channel, trusted=True):
log.info("Invited to %s by %s", channel, hostmask)
irc.join(channel)
文章目录