summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/settings.c2
-rw-r--r--src/irc/core/irc-servers.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/settings.c b/src/core/settings.c
index 0716103a..e6b5d16f 100644
--- a/src/core/settings.c
+++ b/src/core/settings.c
@@ -210,7 +210,7 @@ static void settings_add(const char *module, const char *section,
return;
}
- choices_vec = g_strsplit(choices, ",", -1);
+ choices_vec = g_strsplit(choices, ";", -1);
/* validate the default value */
if (default_value->v_int < 0 || default_value->v_int >= g_strv_length(choices_vec)) {
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c
index 6f5803ed..c8ba0a48 100644
--- a/src/irc/core/irc-servers.c
+++ b/src/irc/core/irc-servers.c
@@ -1017,7 +1017,7 @@ void irc_server_init_isupport(IRC_SERVER_REC *server)
void irc_servers_init(void)
{
- settings_add_choice("servers", "rejoin_channels_on_reconnect", 1, "off,on,auto");
+ settings_add_choice("servers", "rejoin_channels_on_reconnect", 1, "off;on;auto");
settings_add_str("misc", "usermode", DEFAULT_USER_MODE);
settings_add_str("misc", "split_line_start", "");
settings_add_str("misc", "split_line_end", "");