summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/core.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/core.c b/src/core/core.c
index f453a88f..2321208e 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -159,12 +159,9 @@ void core_init_paths(int argc, char *argv[])
len = strlen(irssi_dir);
if (irssi_dir[len-1] == G_DIR_SEPARATOR)
irssi_dir[len-1] = '\0';
- break;
- }
- if (strncmp(argv[n], "--config=", 9) == 0) {
+ } else if (strncmp(argv[n], "--config=", 9) == 0) {
g_free_not_null(irssi_config_file);
irssi_config_file = convert_home(argv[n]+9);
- break;
}
}