[X2serv-cvs] CVS: x2/source commands.c,1.147,1.148
Brought to you by:
sirvulcan
From: Richard P. <lys...@us...> - 2001-05-21 18:27:23
|
Update of /cvsroot/x2serv/x2/source In directory usw-pr-cvs1:/tmp/cvs-serv11649 Modified Files: commands.c Log Message: fixed a bug where .sethandle didn't allow users on the userlist to use godmode to change handles Index: commands.c =================================================================== RCS file: /cvsroot/x2serv/x2/source/commands.c,v retrieving revision 1.147 retrieving revision 1.148 diff -C2 -r1.147 -r1.148 *** commands.c 2001/05/10 14:28:35 1.147 --- commands.c 2001/05/21 18:27:19 1.148 *************** *** 3991,3995 **** return(FALSE); } ! if (hptr!=NULL && userlevelbychar(hptr->Level) != OW && userlevelbychar(Handle->Level) >= userlevelbychar(hptr->Level)) { send_to_user(uptr, "\002You cannot change the handle of a user with an access level greater than or equal to yours!\002"); --- 3991,3995 ---- return(FALSE); } ! if (!IsGodOper(uptr) && userlevelbychar(hptr->Level) != OW && userlevelbychar(Handle->Level) >= userlevelbychar(hptr->Level)) { send_to_user(uptr, "\002You cannot change the handle of a user with an access level greater than or equal to yours!\002"); |