diff options
author | pisculichi <pisculichi@openmailbox.com> | 2016-05-02 16:01:48 +0000 |
---|---|---|
committer | pisculichi <pisculichi@openmailbox.com> | 2016-05-03 15:28:20 +0000 |
commit | 47e792da05f79c624a190fd5780e07f171fd7bd1 (patch) | |
tree | cfe0e053c3dac6cc933901309810809216ecc20a /src/irc | |
parent | cf98260eded9150d4ce1f3c5184ae5f3463d9c21 (diff) | |
download | irssi-47e792da05f79c624a190fd5780e07f171fd7bd1.zip |
Fix some ANSI C issues.
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/proxy/proxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
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", |