chiark / gitweb /
uncomment url-tracking
[irc.git] / Servus-chiark.py
index 37cccf9..de6a88f 100644 (file)
@@ -168,7 +168,7 @@ commands = {"karma": (c.karmaq,karmadb),
            "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),
@@ -199,9 +199,9 @@ def command(bot, cmd, nick, conn, public):
            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("++"):