aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/irc.c b/src/irc.c
index b4d9f43..0ca0b01 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -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();