Case-sensitive because it's a GNU extension

This commit is contained in:
Casey 2024-04-30 15:15:31 +03:00
parent 11fc655bb7
commit aa6b07d8ce
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ void execute_command(struct msg_target tgt, const char *command, const char *par
for (int i = 0; i < sounds_pool.cap; i++) {
struct sfx_pool_item item = sounds_pool.sounds[i];
if (item.key[0] != '\0' && strcasestr(item.key, params)) {
if (item.key[0] != '\0' && strstr(item.key, params)) {
send_txt(tgt, "%s\n", item.key);
}
}