From 47e792da05f79c624a190fd5780e07f171fd7bd1 Mon Sep 17 00:00:00 2001 From: pisculichi Date: Mon, 2 May 2016 16:01:48 +0000 Subject: Fix some ANSI C issues. --- src/irc/proxy/proxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/irc/proxy') diff --git a/src/irc/proxy/proxy.c b/src/irc/proxy/proxy.c index 1a714045..2875d2c2 100644 --- a/src/irc/proxy/proxy.c +++ b/src/irc/proxy/proxy.c @@ -28,13 +28,14 @@ /* SYNTAX: IRSSIPROXY STATUS */ static void cmd_irssiproxy_status(const char *data, IRC_SERVER_REC *server) { + GSList *tmp; + if (!settings_get_bool("irssiproxy")) { printtext(server, NULL, MSGLEVEL_CLIENTNOTICE, "Proxy is currently disabled"); return; } - GSList *tmp; printtext(server, NULL, MSGLEVEL_CLIENTNOTICE, "Proxy: Currently connected clients: %d", -- cgit v1.2.3