summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2018-03-09 17:36:28 +0100
committerLemonBoy <thatlemon@gmail.com>2018-03-09 17:36:28 +0100
commit76d958a87fea1d744f45a9e022cf980752c7ea73 (patch)
tree1704047853c97c6bd6873d3f2baa92f17ce5d535 /src/core
parentfb9f5174c2f85c113dac8dbc1d146fe530e53e44 (diff)
downloadirssi-76d958a87fea1d744f45a9e022cf980752c7ea73.zip
More g_strcmp0 -> g_ascii_strcasecmp
Diffstat (limited to 'src/core')
-rw-r--r--src/core/servers-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index 878dd0ea..2a92a367 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -478,8 +478,8 @@ static int compare_server_setup (CONFIG_NODE *node, SERVER_SETUP_REC *server)
return 0;
}
- if (g_strcmp0(address, server->address) != 0 ||
- g_strcmp0(chatnet, server->chatnet) != 0 ||
+ if (g_ascii_strcasecmp(address, server->address) != 0 ||
+ g_ascii_strcasecmp(chatnet, server->chatnet) != 0 ||
port != server->port) {
return 1;
}