Skip to content

Commit e5ac58c

Browse files
committed
chore(configuration): Rework
1 parent d400127 commit e5ac58c

File tree

3 files changed

+408
-66
lines changed

3 files changed

+408
-66
lines changed

src/commands/CommandsManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ int CommandsManager::HandleCommand(Player *player, std::string text)
2121
return -1;
2222

2323
std::vector<std::string> commandPrefixes = explode(g_Config->FetchValue<std::string>("core.commandPrefixes"), " ");
24-
std::vector<std::string> silentCommandPrefixes = explode(g_Config->FetchValue<std::string>("core.silentCommandPrefixes"), " ");
24+
std::vector<std::string> silentCommandPrefixes = explode(g_Config->FetchValue<std::string>("core.commandSilentPrefixes"), " ");
2525
bool isCommand = (std::find(commandPrefixes.begin(), commandPrefixes.end(), std::string(1, text.at(0))) != commandPrefixes.end());
2626
bool isSilentCommand = (std::find(silentCommandPrefixes.begin(), silentCommandPrefixes.end(), std::string(1, text.at(0))) != silentCommandPrefixes.end());
2727

0 commit comments

Comments
 (0)