summaryrefslogtreecommitdiff
path: root/src/core/levels.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/levels.c')
-rw-r--r--src/core/levels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/levels.c b/src/core/levels.c
index 2c972b3f..587e1432 100644
--- a/src/core/levels.c
+++ b/src/core/levels.c
@@ -53,10 +53,10 @@ int level_get(const char *level)
{
int n, len, match;
- if (g_strcasecmp(level, "ALL") == 0 || strcmp(level, "*") == 0)
+ if (g_ascii_strcasecmp(level, "ALL") == 0 || strcmp(level, "*") == 0)
return MSGLEVEL_ALL;
- if (g_strcasecmp(level, "NEVER") == 0)
+ if (g_ascii_strcasecmp(level, "NEVER") == 0)
return MSGLEVEL_NEVER;
len = strlen(level);