From: tomtt <to...@us...> - 2007-07-24 23:58:42
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29071 Modified Files: adminmanager.cpp Log Message: Added usage information for /key command. Index: adminmanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/adminmanager.cpp,v retrieving revision 1.405 retrieving revision 1.406 diff -C2 -d -r1.405 -r1.406 *** adminmanager.cpp 20 Jul 2007 21:01:34 -0000 1.405 --- adminmanager.cpp 24 Jul 2007 23:58:42 -0000 1.406 *************** *** 2070,2073 **** --- 2070,2080 ---- void AdminManager::ModifyKey(MsgEntry *me, psAdminCmdMessage& msg,Client *client) { + // Give syntax + if(msg.keyCmd.Length() == 0) + { + psserver->SendSystemError(me->clientnum, "Syntax: /key [changelock|make|copy|clearlocks|addlock|removelock|skel]"); + return; + } + // Exchange lock on targeted item // this actually removes the ability to unlock this lock from all the keys |