summaryrefslogtreecommitdiff
path: root/src/irc/flood/flood.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/flood/flood.c')
-rw-r--r--src/irc/flood/flood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c
index 21e01787..ebb07d2c 100644
--- a/src/irc/flood/flood.c
+++ b/src/irc/flood/flood.c
@@ -274,7 +274,7 @@ static void flood_ctcp(IRC_SERVER_REC *server, const char *data,
if (addr == NULL || g_strcasecmp(nick, server->nick) == 0)
return;
- level = g_strncasecmp(data, "ACTION ", 7) != 0 ? MSGLEVEL_CTCPS :
+ level = g_ascii_strncasecmp(data, "ACTION ", 7) != 0 ? MSGLEVEL_CTCPS :
(ischannel(*target) ? MSGLEVEL_PUBLIC : MSGLEVEL_MSGS);
if (!ignore_check(SERVER(server), nick, addr, target, data, level))
flood_newmsg(server, level, nick, addr, target);