From: Andrew C. <ac...@us...> - 2006-01-07 21:26:27
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19964/src/server Modified Files: adminmanager.cpp Log Message: Fixed bug with getting the correct string to use as command. Index: adminmanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/adminmanager.cpp,v retrieving revision 1.276 retrieving revision 1.277 diff -C2 -d -r1.276 -r1.277 *** adminmanager.cpp 7 Jan 2006 03:27:48 -0000 1.276 --- adminmanager.cpp 7 Jan 2006 21:26:19 -0000 1.277 *************** *** 336,341 **** LogGMCommand( client->GetPlayerID(), targetID, msg.cmd ); ! ! csString command = msg.cmd.DeleteAt(0); if (!Valid(client->GetSecurityLevel(), command , me->clientnum)) --- 336,342 ---- LogGMCommand( client->GetPlayerID(), targetID, msg.cmd ); ! ! csString command = msg.command; ! command.DeleteAt(0); if (!Valid(client->GetSecurityLevel(), command , me->clientnum)) |