Compare commits
1 Commits
cached-sor
...
master
Author | SHA1 | Date |
---|---|---|
Casey | aa6b07d8ce |
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue