chiark / gitweb /
respond to URL-suppliers telling them their URL has been sent through
authorMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Mon, 7 Jun 2010 10:48:00 +0000 (11:48 +0100)
committerMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Mon, 7 Jun 2010 10:48:00 +0000 (11:48 +0100)
commands.py

index fb4175c2c587a5d09563562513dbe015e97012df..c6f27770b539e158ab71d622908e34816bdc6138 100644 (file)
@@ -351,6 +351,7 @@ def urlq(bot, cmd, nick, conn, public,urldb):
       bot.automsg(False,nick,"That URL was unique. There is little point in using !url out loud; please use it via /msg")
     else:
       conn.privmsg(bot.channel,"%s would like to draw your attention to %s"%(nick,url))
       bot.automsg(False,nick,"That URL was unique. There is little point in using !url out loud; please use it via /msg")
     else:
       conn.privmsg(bot.channel,"%s would like to draw your attention to %s"%(nick,url))
+      bot.automsg(False,nick,"That URL was unique; I have posted it into IRC")
     urldb[url]=UrlLog(url,nick)
 
 ### Deal with URLs spotted in channel
     urldb[url]=UrlLog(url,nick)
 
 ### Deal with URLs spotted in channel