Core/DBLayer: Few more type corrections

Closes #5871
This commit is contained in:
Nay
2012-03-24 23:05:24 +00:00
parent 61691d7698
commit 192d7d735d
5 changed files with 8 additions and 8 deletions
@@ -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;
@@ -56,7 +56,7 @@ class RASocket: public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_MT_SYNCH>
private:
/// Minimum security level required to connect
uint8 iMinLevel;
uint8 _minLevel;
};
#endif
/// @}