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:
760865e
)
revise wording a little more (thanks to pm215)
author
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Tue, 8 Jun 2010 10:26:26 +0000
(11:26 +0100)
committer
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Tue, 8 Jun 2010 10:26:26 +0000
(11:26 +0100)
commands.py
patch
|
blob
|
history
diff --git
a/commands.py
b/commands.py
index 98d89ff65df2fae160cd84f61df5f510dc46aed1..159bbb4e888dc67d28bff0e64eeb13d0e389d8af 100644
(file)
--- a/
commands.py
+++ b/
commands.py
@@
-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:
- 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)