chiark / gitweb /
revise wording a little more (thanks to pm215)
authorMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Tue, 8 Jun 2010 10:26:26 +0000 (11:26 +0100)
committerMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Tue, 8 Jun 2010 10:26:26 +0000 (11:26 +0100)
commands.py

index 98d89ff..159bbb4 100644 (file)
@@ -352,7 +352,7 @@ def urlq(bot, cmd, nick, conn, public,urldb):
       if urlstring != cmd.split()[1]: #first argument to URL was not the url
         conn.privmsg(bot.channel,"%s remarks %s" % (nick," ".join(cmd.split()[1:])))
       else:
       if urlstring != cmd.split()[1]: #first argument to URL was not the url
         conn.privmsg(bot.channel,"%s remarks %s" % (nick," ".join(cmd.split()[1:])))
       else:
-        conn.privmsg(bot.channel,"%s saw %s"%(nick," ".join(cmd.split()[1:])))
+        conn.privmsg(bot.channel,"(via %s) %s"%(nick," ".join(cmd.split()[1:])))
       bot.automsg(False,nick,"That URL was unique; I have posted it into IRC")
     urldb[url]=UrlLog(url,nick)
 
       bot.automsg(False,nick,"That URL was unique; I have posted it into IRC")
     urldb[url]=UrlLog(url,nick)