chiark
/
gitweb
/
~matthewv
/
irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix logic test to check if the URL was the first thing mentioned
[irc.git]
/
Servus-chiark.py
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: