Guest User

Untitled

a guest
May 26th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.98 KB | None | 0 0
  1. diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp
  2. index fdc1610..15b6625 100644
  3. --- a/src/game/Level2.cpp
  4. +++ b/src/game/Level2.cpp
  5. @@ -2647,7 +2647,7 @@ bool ChatHandler::HandlePInfoCommand(char* args)
  6.          if (fields[5].GetUInt32() != NULL && fields[5].GetUInt32() == accId)                            // checking to see if account has forced perms
  7.          {
  8.              if (fields[7].GetUInt32() != NULL && fields[7].GetUInt32() == realmID)                      // if it does, check to see if it has it on the realm
  9. -                security = (AccountTypes)fields[5].GetUInt16();                                         // if it does, apply forced perm
  10. +                security = (AccountTypes)fields[6].GetUInt16();                                         // if it does, apply forced perm
  11.              else
  12.                  security = (AccountTypes)fields[1].GetUInt32();                                         // if it doesn't for realm, apply regular perms
  13.          }
Add Comment
Please, Sign In to add comment