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:
08d3854
)
make Servus less chatty if pasting URL into channel
author
Matthew Vernon
<matthewv@chiark.greenend.org.uk>
Thu, 7 Nov 2013 12:44:48 +0000
(12:44 +0000)
committer
Matthew Vernon
<matthewv@chiark.greenend.org.uk>
Thu, 7 Nov 2013 12:44:48 +0000
(12:44 +0000)
commands.py
patch
|
blob
|
history
diff --git
a/commands.py
b/commands.py
index 640c694638774d192eddbf350eb686339e887e88..474a4420e4edfca1921431bf733b1a1fe05f8445 100755
(executable)
--- a/
commands.py
+++ b/
commands.py
@@
-440,7
+440,6
@@
def urlq(bot, cmd, nick, conn, public,urldb):
conn.privmsg(bot.channel,"%s remarks: %s" % (nick," ".join(cmd.split()[1:])))
else:
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)
### Deal with URLs spotted in channel