diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-12-07 19:14:37 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-12-07 19:14:37 +0100 |
commit | 1f1611c9163554ad34e7b26dc933732c1ec7089a (patch) | |
tree | e6fdb027f7ccbd8402888310953f2723d1c212c0 /src/plugins/relay/irc/relay-irc.h | |
parent | 72e6b3d703b114c9bff66004407338154a62fd49 (diff) | |
download | weechat-1f1611c9163554ad34e7b26dc933732c1ec7089a.zip |
relay: wait for message CAP END before sending join of channels and backlog to the client (closes #223)
Diffstat (limited to 'src/plugins/relay/irc/relay-irc.h')
-rw-r--r-- | src/plugins/relay/irc/relay-irc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/relay/irc/relay-irc.h b/src/plugins/relay/irc/relay-irc.h index 05b3bc9ea..49b4bcad7 100644 --- a/src/plugins/relay/irc/relay-irc.h +++ b/src/plugins/relay/irc/relay-irc.h @@ -32,12 +32,12 @@ struct t_relay_irc_data int password_ok; /* password received and OK? */ char *nick; /* nick for client */ int user_received; /* command "USER" received */ + int cap_ls_received; /* 1 if CAP LS was received */ + int cap_end_received; /* 1 if CAP END was received */ int connected; /* 1 if client is connected as IRC */ /* client */ int server_capabilities; /* server capabilities enabled (one */ /* bit per capability) */ - struct t_hook *hook_timer_signals_joins;/* timer to hooks signals and */ - /* send joins to client */ struct t_hook *hook_signal_irc_in2; /* signal "irc_in2" */ struct t_hook *hook_signal_irc_outtags; /* signal "irc_outtags" */ struct t_hook *hook_signal_irc_disc; /* signal "irc_disconnected" */ |