From 16d1fccf6132fffa9a398ac6d4b8456b6e3facb6 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 3 Jan 2015 18:00:37 -0500 Subject: Fix disabling identd server --- src/common/plugin-identd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/plugin-identd.c b/src/common/plugin-identd.c index 753fde05..04fd2383 100644 --- a/src/common/plugin-identd.c +++ b/src/common/plugin-identd.c @@ -156,10 +156,10 @@ identd_start_server (void) GError *error = NULL; int enabled, port = 113; - if (hexchat_get_prefs (ph, "identd", NULL, &enabled) == 3 && enabled) + if (hexchat_get_prefs (ph, "identd", NULL, &enabled) == 3) { if (!enabled) - return TRUE; /*...*/ + return TRUE; /* Count as loaded successfully but don't start service */ } if (hexchat_get_prefs (ph, "identd_port", NULL, &port) == 2 && (port <= 0 || port > G_MAXUINT16)) { -- cgit 1.4.1