forked from hkc/sfxd
1
0
Fork 0

Compare commits

...

1 Commits

Author SHA1 Message Date
Casey aa6b07d8ce
Case-sensitive because it's a GNU extension 2024-04-30 15:15:31 +03:00
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++) { for (int i = 0; i < sounds_pool.cap; i++) {
struct sfx_pool_item item = sounds_pool.sounds[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); send_txt(tgt, "%s\n", item.key);
} }
} }