diff options
author | leak <leakzx@googlemail.com> | 2011-08-13 13:24:48 +0200 |
---|---|---|
committer | leak <leakzx@googlemail.com> | 2011-08-13 13:24:48 +0200 |
commit | 6db242473ea83313e143d45153b8a097f25acc97 (patch) | |
tree | d6b8ff59ced106c3b9c7495710f7968d4dcdce3b /src/server/scripts/Commands | |
parent | 91a3bfe42a611519c1df2f9901acaa1aa600dc31 (diff) |
Core/Commands: Console should be able to add/remove rights in any case
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r-- | src/server/scripts/Commands/cs_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_account.cpp b/src/server/scripts/Commands/cs_account.cpp index e5981b649be..c63e47fbc50 100644 --- a/src/server/scripts/Commands/cs_account.cpp +++ b/src/server/scripts/Commands/cs_account.cpp @@ -452,7 +452,7 @@ public: } // Check and abort if the target gm has a higher rank on one of the realms and the new realm is -1 - if (gmRealmID == -1) + if (gmRealmID == -1 && plSecurity != SEC_CONSOLE) { QueryResult result = LoginDatabase.PQuery("SELECT * FROM account_access WHERE id = '%u' AND gmlevel > '%d'", targetAccountId, gm); if (result) |