summaryrefslogtreecommitdiff
path: root/src/core/servers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/servers.c')
-rw-r--r--src/core/servers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/servers.c b/src/core/servers.c
index 2e9d11fc..9b9e8263 100644
--- a/src/core/servers.c
+++ b/src/core/servers.c
@@ -77,8 +77,8 @@ static char *server_create_address_tag(const char *address)
/* try to generate a reasonable server tag */
if (strchr(address, '.') == NULL) {
start = end = NULL;
- } else if (g_strncasecmp(address, "irc", 3) == 0 ||
- g_strncasecmp(address, "chat", 4) == 0) {
+ } else if (g_ascii_strncasecmp(address, "irc", 3) == 0 ||
+ g_ascii_strncasecmp(address, "chat", 4) == 0) {
/* irc-2.cs.hut.fi -> hut, chat.bt.net -> bt */
end = strrchr(address, '.');
start = end-1;