summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 5cf8dd0c0..f466e6044 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -5073,7 +5073,7 @@ irc_server_connect (struct t_irc_server *server)
NULL);
}
#else
- if (!server->fake_recv)
+ if (!server->fake_server)
{
server->hook_connect = weechat_hook_connect (
proxy,