diff options
Diffstat (limited to 'src/irc.c')
| -rw-r--r-- | src/irc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,6 +16,7 @@ #include "complete.h" #include "keytab.h" #include "kgetc.h" +#include "streq.h" #ifndef VERSION #define VERSION "?????" @@ -514,7 +515,7 @@ static void invalid_msg(char type) { } #endif -static char cmd_is(const char *cmd) { +static char cmd_is(char *cmd) { return streq_i(msg_cmd, cmd); } @@ -947,7 +948,7 @@ void start_keystroke(char c) { return; } - switch(tolower(c)) { + switch(lcase(c)) { case XCH_UP: case '-': scrollback(); |
