mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix: Fix reload command (#332)
This commit is contained in:
@@ -47,7 +47,7 @@ bool ALE::OnCommand(ChatHandler& handler, const char* text)
|
||||
{
|
||||
std::string reload = text;
|
||||
std::transform(reload.begin(), reload.end(), reload.begin(), ::tolower);
|
||||
if (reload.find("reload ALE") == 0)
|
||||
if (reload.find("reload ale") == 0)
|
||||
{
|
||||
ReloadALE();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user