changeset 2157:c3bf2fa18b9a

Backed out changeset e2aa8372c4bf462dde0fe18fb647d782c3f1f615
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Mon, 18 Jun 2007 03:21:38 +0200
parents e2aa8372c4bf
children 22a7080b4ac5
files jabberbot/xmppbot.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jabberbot/xmppbot.py	Mon Jun 18 03:19:28 2007 +0200
+++ b/jabberbot/xmppbot.py	Mon Jun 18 03:21:38 2007 +0200
@@ -175,10 +175,6 @@
         """
         # Handle normal notifications
         if isinstance(command, cmd.NotificationCommand):
-            if not command.jid:
-                self.log("Received a command with empty jid, looks like a bug!")
-                return
-            
             jid = JID(node_or_jid=command.jid)
             jid_text = jid.bare().as_utf8()
             text = command.text