Move handling of process status events to a separate function.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Fix typo. (M)

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Don't run disconnect-hooks when disconnecting interactively.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Print 'disconnect' message when disconnecting interactively

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Don't add the relay ping timer to the disconnect-hook.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Improve docstrings in weechat-relay.el. (M)

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Reconnect after (expt 2 (- max-reconnects reconnects-left)) seconds.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>