From 5d2037aa0c1a9d7282f70475942ad9adca69264e Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 16 Mar 2021 14:41:52 +0100 Subject: [PATCH] profanity.c: move var into function --- src/profanity.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/profanity.c b/src/profanity.c index c15146b4..eb829bad 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -91,12 +91,13 @@ static void _shutdown(void); static void _connect_default(const char* const account); pthread_mutex_t lock; -static gboolean cont = TRUE; static gboolean force_quit = FALSE; void prof_run(char* log_level, char* account_name, char* config_file, char* log_file, char* theme_name) { + gboolean cont = TRUE; + _init(log_level, config_file, log_file, theme_name); plugins_on_start(); _connect_default(account_name);