[Otfbot-svn] r491 - trunk/plugins/ircClient

allo at BerliOS allo
So Nov 2 15:23:01 CET 2008


Author: allo
Date: 2008-11-02 15:23:01 +0100 (Sun, 02 Nov 2008)
New Revision: 491

Modified:
   trunk/plugins/ircClient/humanMod.py
Log:
no string


Modified: trunk/plugins/ircClient/humanMod.py
===================================================================
--- trunk/plugins/ircClient/humanMod.py	2008-11-02 14:18:44 UTC (rev 490)
+++ trunk/plugins/ircClient/humanMod.py	2008-11-02 14:23:01 UTC (rev 491)
@@ -49,7 +49,7 @@
 			server=server.kwargs['factory'].protocol
 			if not server.connected:
 				return
-			if string.lower(user) == string.lower(self.bot.nickname):
+			if user.lower() == self.bot.nickname.lower():
 				server.sendmsg(self.network+"-"+channel, server.name, "< %s> "%self.bot.nickname+msg)
 			else:
 				#server.sendmsg(self.network+"-"+user, self.bot.server.name, msg)




Mehr Informationen über die Mailingliste Otfbot-dev