From 0a9d6af4cae1fee078ae3356875f774d15e5f2e4 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Fri, 4 Jun 2010 20:35:41 +0100 Subject: [PATCH] declare some globals --- Servus-chiark.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.30.2