Core: Fix warning

This commit is contained in:
Vincent-Michael committed 2013-06-03 18:04:42 +02:00
1 parent 4ffdaa011d
commit f6c1a9a8c4
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -1664,7 +1664,7 @@ public:
// Only fetch these fields if commander has sufficient rights)
if (handler->HasPermission(RBAC_PERM_COMMANDS_PINFO_CHECK_PERSONAL_DATA) && // RBAC Perm. 48, Role 39
(!handler->GetSession() || handler->GetSession()->GetSecurity() >= security))
(!handler->GetSession() || handler->GetSession()->GetSecurity() >= AccountTypes(security)))
{
eMail = fields[2].GetString();
lastIp = fields[3].GetString();