fix: docker install

This commit is contained in:
Micrah
2020-01-03 21:35:11 +11:00
committed by BarbzYHOOL
parent 859e7b78ba
commit 24200cd692
3 changed files with 13 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ public:
// Docker Installation prevents warnings. In order to avoid the issue, we need to add __attribute__ ((unused))
// to the player variable to tell the compiler it is fine not to use it.
void OnLogin(Player* __attribute__ ((unused))player)
void OnLogin(Player* player)
{
if (sConfigMgr->GetIntDefault("LFG.SoloMode", true))
{