X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=blobdiff_plain;f=Servus-chiark.py;h=0e0137cc785d36fdcf4f5bc33506bdf403445ca3;hb=57688526cf0f90f741e53a6f2152c1eb1431c4fc;hp=de6a88fa36069da51d134ad5cd1b28d29d0d7037;hpb=c4a28171488f97455798c6aa8952bfc25893151d;p=irc.git diff --git a/Servus-chiark.py b/Servus-chiark.py index de6a88f..0e0137c 100644 --- a/Servus-chiark.py +++ b/Servus-chiark.py @@ -183,6 +183,7 @@ triggers = ("!", "~") # what character should the bot be invoked by: # eg !trout, ~trout etc. def command(bot, cmd, nick, conn, public): + global urldb,lastexp,expirelen,expirevery ours=0 try: if public and cmd[0] in triggers: