diff --git a/src/common.h b/src/common.h index d1f34870..e0da1080 100644 --- a/src/common.h +++ b/src/common.h @@ -6,7 +6,7 @@ #define IRSSI_GLOBAL_CONFIG "irssi.conf" /* config file name in /etc/ */ #define IRSSI_HOME_CONFIG "config" /* config file name in ~/.irssi/ */ -#define IRSSI_ABI_VERSION 25 +#define IRSSI_ABI_VERSION 26 #define DEFAULT_SERVER_ADD_PORT 6667 #define DEFAULT_SERVER_ADD_TLS_PORT 6697 diff --git a/src/core/core.c b/src/core/core.c index 0446052b..85f3a5d5 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -85,7 +85,7 @@ const char *get_irssi_config(void) static void sig_hup(int signo) { - sighup_received = TRUE; + sighup_received = TRUE; } static void read_settings(void) @@ -108,7 +108,7 @@ static void read_settings(void) sigemptyset (&act.sa_mask); act.sa_flags = 0; - act.sa_handler = sig_hup; + act.sa_handler = sig_hup; sigaction(SIGHUP, &act, NULL); for (n = 0; n < sizeof(signals)/sizeof(signals[0]); n++) { diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index c3ded0b9..c2013155 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -340,14 +340,14 @@ int main(int argc, char **argv) can call our dirty-checker after each iteration */ while (!quitting) { if (sighup_received) { - sighup_received = FALSE; + sighup_received = FALSE; - if (settings_get_bool("quit_on_hup")) { - signal_emit("gui exit", 0); - } - else { - signal_emit("command reload", 1, ""); - } + if (settings_get_bool("quit_on_hup")) { + signal_emit("gui exit", 0); + } + else { + signal_emit("command reload", 1, ""); + } } dirty_check();