diff options
author | p0wer <none@none> | 2009-12-22 21:10:45 -0600 |
---|---|---|
committer | p0wer <none@none> | 2009-12-22 21:10:45 -0600 |
commit | 1df511c5ddea774f9509fbbbf3e36f77b9385bde (patch) | |
tree | 16cb3b917eed87128bf49ef6c8b048518751671e /src/trinitycore | |
parent | 6cd46ebd4ac720ac174f87db83ebee95e9035441 (diff) |
* Fix a silly mistake by Sundark.
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore')
-rw-r--r-- | src/trinitycore/RASocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trinitycore/RASocket.cpp b/src/trinitycore/RASocket.cpp index 055cfebada6..a464a83702c 100644 --- a/src/trinitycore/RASocket.cpp +++ b/src/trinitycore/RASocket.cpp @@ -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()); |