diff options
Diffstat (limited to 'src/core/commands.c')
-rw-r--r-- | src/core/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/commands.c b/src/core/commands.c index f1c86fc7..1b811bc4 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -325,7 +325,7 @@ void command_runsub(const char *cmd, const char *data, subcmd = g_strconcat("command ", newcmd, NULL); - g_strdown(subcmd); + ascii_strdown(subcmd); if (!signal_emit(subcmd, 3, args, server, item)) { defcmd = g_strdup_printf("default command %s", cmd); if (!signal_emit(defcmd, 3, data, server, item)) { @@ -891,7 +891,7 @@ static void parse_command(const char *command, int expand_aliases, } cmd = g_strconcat("command ", newcmd, NULL); - g_strdown(cmd); + ascii_strdown(cmd); oldcmd = current_command; current_command = cmd+8; |