Removed id number from randomurl output.

This commit is contained in:
Jeremy Fincher 2003-08-26 11:52:42 +00:00
parent 871d6858c0
commit 84c028c0dc

View File

@ -145,7 +145,7 @@ class URLSnarfer(callbacks.Privmsg, ChannelDBHandler):
(id, url, added, addedBy, _, _, _, _, _, _) = cursor.fetchone()
when = time.strftime(conf.humanTimestampFormat,
time.localtime(int(added)))
s = '%s: <%s> (added by %s at %s)' % (id, url, addedBy, when)
s = '<%s> (added by %s at %s)' % (id, url, addedBy, when)
irc.reply(msg, s)
def numurls(self, irc, msg, args):