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:
fe2eea1
)
respond to URL-suppliers telling them their URL has been sent through
author
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Mon, 7 Jun 2010 10:48:00 +0000
(11:48 +0100)
committer
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Mon, 7 Jun 2010 10:48:00 +0000
(11:48 +0100)
commands.py
patch
|
blob
|
history
diff --git
a/commands.py
b/commands.py
index fb4175c2c587a5d09563562513dbe015e97012df..c6f27770b539e158ab71d622908e34816bdc6138 100644
(file)
--- a/
commands.py
+++ b/
commands.py
@@
-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