* Fix a silly mistake by Sundark.

--HG--
branch : trunk
This commit is contained in:
p0wer
2009-12-22 21:10:45 -06:00
parent 6cd46ebd4a
commit 1df511c5dd

View File

@@ -170,7 +170,7 @@ void RASocket::OnRead()
//szPass=fields[0].GetString();
///- if gmlevel is too low, deny access
if(fields[1].GetUInt32()<iMinLevel && fields[1].GetUInt32() != NULL))
if(fields[1].GetUInt32()<iMinLevel || fields[1].GetUInt32() == NULL))
{
Sendf("-Not enough privileges.\r\n");
sLog.outRemote("User %s has no privilege.\n",szLogin.c_str());