Exemple #1
0
 def must_use_temp_nick(cli, *etc):
     cli.nick(botconfig.NICK+"_")
     cli.user(botconfig.NICK, "")
     
     decorators.unhook(HOOKS, 239)
     hook("unavailresource")(mustrelease)
     hook("nicknameinuse")(mustregain)
Exemple #2
0
    def must_use_temp_nick(cli, *etc):
        cli.nick(botconfig.NICK + "_")
        cli.user(botconfig.NICK, "")

        decorators.unhook(HOOKS, 239)
        hook("unavailresource")(mustrelease)
        hook("nicknameinuse")(mustregain)
Exemple #3
0
 def toggle_check_quit(*stuff):
     if settings.DISABLE_AUTO_LOG == True:
         settings.LOG_CHAN = False
     decorators.unhook(HOOKS, 652)
Exemple #4
0
 def toggle_check_join(*stuff):
     if settings.TOGGLE_ENABLED == False:
         settings.LOG_CHAN = False
     decorators.unhook(HOOKS, 652)