X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=blobdiff_plain;f=commands.py;h=474a4420e4edfca1921431bf733b1a1fe05f8445;hp=140d7c5faf27ee866728a123dfb3a34f5166f1c5;hb=efae6cf7a2e134795a2ec7d0f96316a20263518e;hpb=2b839ecdaf35521ea5e98ca690b68425f9afe98b diff --git a/commands.py b/commands.py index 140d7c5..474a442 100755 --- 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 @@ -506,7 +505,7 @@ def getTweet(urlstring,twitapi): tweetID = parts[-1] try: status = twitapi.GetStatus(tweetID) - print status, type(status), status=={} + #print status, type(status), status=={} if status == {}: return "twitapi.GetStatus returned nothing :-(" if status.user == None and status.text == None: