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:
f300635
)
shorten url-mentioning text a bit
author
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Tue, 8 Jun 2010 09:42:32 +0000
(10:42 +0100)
committer
Matthew Vernon
<matthew@rapun.sel.cam.ac.uk>
Tue, 8 Jun 2010 09:42:32 +0000
(10:42 +0100)
commands.py
patch
|
blob
|
history
diff --git
a/commands.py
b/commands.py
index 6a1dd73918aa73f05e2d1ae959b76ad910e1ef7d..98d89ff65df2fae160cd84f61df5f510dc46aed1 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
would like to draw your attention to
%s"%(nick," ".join(cmd.split()[1:])))
+ conn.privmsg(bot.channel,"%s
saw
%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)