def on_invite(event, irc): if utils.checkPerms(event.source.host, trusted=True): irc.join(event.target)
def on_invite(event, irc): if utils.checkPerms(event.source.host, trusted=True): hostmask = event.source.host log.info("Invited to %s by %s", event.arguments[1], hostmask) irc.join(event.arguments[1])