Update of /cvsroot/openrpg/openrpg1/orpg/chat
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9374/orpg/chat
Modified Files:
commands.py
Log Message:
Fixed an issue that allowed Lurkers to load local minitures
Removed all instances of <> in the code as that is depreciated in python 2.5
Index: commands.py
===================================================================
RCS file: /cvsroot/openrpg/openrpg1/orpg/chat/commands.py,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** commands.py 10 Mar 2007 17:12:46 -0000 1.79
--- commands.py 3 Apr 2007 00:14:34 -0000 1.80
***************
*** 546,550 ****
def on_moderate(self, cmdargs):
! if cmdargs <> "":
pos = cmdargs.find("=")
if (pos < 0):
--- 546,550 ----
def on_moderate(self, cmdargs):
! if cmdargs != "":
pos = cmdargs.find("=")
if (pos < 0):
***************
*** 572,576 ****
msg += " action = '" + action + "'"
msg +=" from = '" + self.session.id + "' pwd='" + pwd + "'"
! if (plist <> ""):
msg += " users='"+plist+"'"
msg += " />"
--- 572,576 ----
msg += " action = '" + action + "'"
msg +=" from = '" + self.session.id + "' pwd='" + pwd + "'"
! if (plist != ""):
msg += " users='"+plist+"'"
msg += " />"
|