[wpdev-commits] xmlscripts/scripts/commands who.py,1.14,1.15
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-04 21:37:32
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9440 Modified Files: who.py Log Message: Who fix Index: who.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/who.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** who.py 4 Oct 2004 21:20:39 -0000 1.14 --- who.py 4 Oct 2004 21:37:12 -0000 1.15 *************** *** 35,40 **** --- 35,42 ---- char = worldsocket.player if char.invisible and char.rank > player.rank: + worldsocket = wolfpack.sockets.next() continue if not char.account: + wolfpack.sockets.next() continue wholist.append(char) *************** *** 46,49 **** --- 48,55 ---- newwholist = wholist[page * 10:] + while len(newwholist) == 0 and page > 0: + page -= 1 + newwholist = wholist[page * 10:] + wholist = newwholist |