diff options
Diffstat (limited to '')
-rw-r--r-- | src/espik_irc.c | 6 | ||||
-rw-r--r-- | src/espik_irc.h | 2 |
2 files changed, 5 insertions, 3 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 ? */ diff --git a/src/espik_irc.h b/src/espik_irc.h index aec1a64..7fa68e2 100644 --- a/src/espik_irc.h +++ b/src/espik_irc.h @@ -13,7 +13,7 @@ char* irc_raw (char*, char*); char* irc_nick(char*, char*); char** separate_commandline (char*); -void string_upper (char*); +/*void string_upper (char*);*/ //Ecore_Con_Server* irc_connect (char*, int); //void irc_disconnect (Ecore_Con_Server*); |