We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 726326a commit dea434aCopy full SHA for dea434a
src/mod-keepout.cpp
@@ -91,15 +91,15 @@ class KeepOutPlayerScript : public PlayerScript
91
public:
92
KeepOutPlayerScript() : PlayerScript("KeepOutPlayerScript") { }
93
94
- void OnLogin(Player* player) override
+ void OnPlayerLogin(Player* player) override
95
{
96
if (sConfigMgr->GetOption<bool>("Announcer.Enable", true))
97
98
ChatHandler(player->GetSession()).PSendSysMessage("This server is running the |cff4CFF00Keep Out |rmodule.");
99
}
100
101
102
- void OnUpdateZone(Player* player, uint32 /*newZone*/, uint32 /*newArea*/) override
+ void OnPlayerUpdateZone(Player* player, uint32 /*newZone*/, uint32 /*newArea*/) override
103
104
if (mko.keepOutEnabled)
105
0 commit comments