changeset 134:7201851d9aed

plugin tarot, plugin MUC: removed print which were causing error when printing unicode string
author Goffi <goffi@goffi.org>
date Fri, 16 Jul 2010 20:15:14 +0800
parents d998adb62d1a
children 7452ac3818e7
files plugins/plugin_misc_tarot.py plugins/plugin_xep_0045.py
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/plugin_misc_tarot.py	Fri Jul 16 20:14:01 2010 +0800
+++ b/plugins/plugin_misc_tarot.py	Fri Jul 16 20:15:14 2010 +0800
@@ -562,7 +562,6 @@
             
 
     def card_game_cmd(self, mess_elt, profile):
-        print "\n\nCARD GAME command received (profile=%s): %s" % (profile, mess_elt.toXml())
         from_jid = jid.JID(mess_elt['from']) 
         room_jid = jid.JID(from_jid.userhost())
         game_elt = mess_elt.firstChildElement()
--- a/plugins/plugin_xep_0045.py	Fri Jul 16 20:14:01 2010 +0800
+++ b/plugins/plugin_xep_0045.py	Fri Jul 16 20:15:14 2010 +0800
@@ -90,7 +90,6 @@
 
     def __room_joined(self, room, profile):
         """Called when the user is in the requested room"""
-        print "room joined (profile = %s)" % profile
         room_jid = room.roomIdentifier+'@'+room.service
         self.clients[profile].joined_rooms[room_jid] = room
         self.host.bridge.roomJoined(room.roomIdentifier, room.service, [user.nick for user in room.roster.values()], room.nick, profile)