Core/DBLayer: Few more type corrections

Closes #5871
This commit is contained in:
Nay committed 2012-03-24 23:05:24 +00:00
1 parent 61691d7698
commit 192d7d735d
5 files changed
+8 -8

No files matched your search

@@ -32,7 +32,7 @@
RASocket::RASocket()
{
iMinLevel = ConfigMgr::GetIntDefault("RA.MinLevel", 3);
_minLevel = ConfigMgr::GetIntDefault("RA.MinLevel", 3);
}
RASocket::~RASocket()
@@ -192,7 +192,7 @@ int RASocket::check_access_level(const std::string& user)
Field* fields = result->Fetch();
if (fields[1].GetUInt32() < iMinLevel)
if (fields[1].GetUInt8() < _minLevel)
{
sLog->outRemote("User %s has no privilege to login", user.c_str());
return -1;