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:
b6a8252
)
comment out the url-tracking again for now
author
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Fri, 4 Jun 2010 19:54:10 +0000
(20:54 +0100)
committer
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Fri, 4 Jun 2010 19:54:10 +0000
(20:54 +0100)
Servus-chiark.py
patch
|
blob
|
history
diff --git
a/Servus-chiark.py
b/Servus-chiark.py
index 0e0137cc785d36fdcf4f5bc33506bdf403445ca3..a17d007ea6b699041c2fb2dc106c34b5e0d7373f 100644
(file)
--- a/
Servus-chiark.py
+++ b/
Servus-chiark.py
@@
-168,7
+168,7
@@
commands = {"karma": (c.karmaq,karmadb),
"die": quit,
"define": c.defineq,
"google": c.googleq,
"die": quit,
"define": c.defineq,
"google": c.googleq,
-
"url": (c.urlq,urldb),
+
#
"url": (c.urlq,urldb),
"units": c.unitq,
"help": c.helpq,
# "game": (c.gameq,game),
"units": c.unitq,
"help": c.helpq,
# "game": (c.gameq,game),
@@
-200,9
+200,9
@@
def command(bot, cmd, nick, conn, public):
c.urlexpire(urldb,expirelen)
lastexp=t
c.urlexpire(urldb,expirelen)
lastexp=t
- if public:
- if c.urlre.search(cmd):
- c.dourl(bot,conn,nick,cmd,urldb)
+
#
if public:
+
#
if c.urlre.search(cmd):
+
#
c.dourl(bot,conn,nick,cmd,urldb)
# karma: up
if command.endswith("++"):
# karma: up
if command.endswith("++"):