chiark
/
gitweb
/
~matthewv
/
irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a2817
)
declare some globals
author
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Fri, 4 Jun 2010 19:35:41 +0000
(20:35 +0100)
committer
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Fri, 4 Jun 2010 19:35:41 +0000
(20:35 +0100)
Servus-chiark.py
patch
|
blob
|
history
diff --git
a/Servus-chiark.py
b/Servus-chiark.py
index de6a88fa36069da51d134ad5cd1b28d29d0d7037..0e0137cc785d36fdcf4f5bc33506bdf403445ca3 100644
(file)
--- 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: