summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-18 04:13:26 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-18 04:13:26 +0300
commitbc05e688174d24f3b2b01ee0ab5ce73787817832 (patch)
tree93de6e980b161e7dccec2acf98b4621c6c385369 /src/resources/db
parent5e11fb3595e752e37557e3e1a1a0590e033daad3 (diff)
downloadmanaverse-bc05e688174d24f3b2b01ee0ab5ce73787817832.tar.gz
manaverse-bc05e688174d24f3b2b01ee0ab5ce73787817832.tar.bz2
manaverse-bc05e688174d24f3b2b01ee0ab5ce73787817832.tar.xz
manaverse-bc05e688174d24f3b2b01ee0ab5ce73787817832.zip
Fix some style issues after automatic checks.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/groupdb.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resources/db/groupdb.cpp b/src/resources/db/groupdb.cpp
index 1102b7ec4..a8b75d39f 100644
--- a/src/resources/db/groupdb.cpp
+++ b/src/resources/db/groupdb.cpp
@@ -410,8 +410,6 @@ bool GroupDb::isAllowCommand(const ServerCommandTypeT command)
{
const int groupId = localPlayer->getGroupId();
const GroupInfo *const group = GroupDb::getGroup(groupId);
- if (group == nullptr)
- return false;
#ifdef TMWA_SUPPORT
// allow any commands for legacy if group > 0