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 fb4175c..c6f2777 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; I have posted it into IRC")
     urldb[url]=UrlLog(url,nick)
 
 ### Deal with URLs spotted in channel