diff options
author | TingPing <tingping@tingping.se> | 2015-01-03 18:00:37 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2015-01-03 18:00:37 -0500 |
commit | 16d1fccf6132fffa9a398ac6d4b8456b6e3facb6 (patch) | |
tree | 7431e19c8995e8fe60cd30285c8a1305ee2d2d2b /src | |
parent | 086d4e39622167c5c20af22029c45d15dab82ce6 (diff) |
Fix disabling identd server
Diffstat (limited to 'src')
-rw-r--r-- | src/common/plugin-identd.c | 4 |
1 files 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)) { |