chiark / gitweb /
declare some globals
authorMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Fri, 4 Jun 2010 19:35:41 +0000 (20:35 +0100)
committerMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Fri, 4 Jun 2010 19:35:41 +0000 (20:35 +0100)
Servus-chiark.py

index de6a88fa36069da51d134ad5cd1b28d29d0d7037..0e0137cc785d36fdcf4f5bc33506bdf403445ca3 100644 (file)
@@ -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: