diff options
Diffstat (limited to 'src/espik_irc.c')
-rw-r--r-- | src/espik_irc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/espik_irc.c b/src/espik_irc.c index e5c0bd4..e777b42 100644 --- a/src/espik_irc.c +++ b/src/espik_irc.c @@ -53,6 +53,7 @@ char** separate_commandline (char *msg) return (two_words); } +/* void string_upper (char *str) { unsigned int len, i; @@ -68,6 +69,7 @@ void string_upper (char *str) printf("string_upper: %s\n", str); #endif } +*/ unsigned short sendmsg_len (char* msg) { @@ -223,11 +225,11 @@ char* irc_send (char* msg) printf ("irc_send: <separate_commandline\n"); #endif - string_upper (cmd_and_message[0]); + /*string_upper (cmd_and_message[0]);*/ for (cmd = cmd_tab; cmd->cmd_name != 0; cmd++) { - if ((strcmp (cmd_and_message[0], cmd->cmd_name)) == 0) + if ((strcasecmp (cmd_and_message[0], cmd->cmd_name)) == 0) { out = cmd->format (current_chan, cmd_and_message[1]); /* WHy do job after found the good to do ? */ |