mirror of
https://github.com/telegramcores/mod-premium.git
synced 2026-01-13 00:58:36 +00:00
Update premium.cpp
test
This commit is contained in:
@@ -82,7 +82,7 @@ public:
|
|||||||
if (!sConfigMgr->GetOption<bool>("PremiumAccount", true))
|
if (!sConfigMgr->GetOption<bool>("PremiumAccount", true))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
QueryResult result = CharacterDatabase.Query("SELECT `AccountId` FROM `premium` WHERE `active`=1 AND `AccountId`={}", player->GetSession()->GetAccountId());
|
/* QueryResult result = CharacterDatabase.Query("SELECT `AccountId` FROM `premium` WHERE `active`=1 AND `AccountId`={}", player->GetSession()->GetAccountId()); */
|
||||||
|
|
||||||
if (!result)
|
if (!result)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user