예제 #1
0
 def on_invite(event, irc):
     if utils.checkPerms(event.source.host, trusted=True):
         irc.join(event.target)
예제 #2
0
 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])