mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
Autorejoin when join temporarily fails because of netsplit is handled
better now. Irssi prints a nice message about it only once and you can abort it with /RMREJOINS command. "channel query" -> "channel joined" channels_join() must not use cmd_return|param_error() commands since we don't necessarily call it from command handler and signal_stop() could cause some damage. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@739 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f850204479
commit
6a3efe49ab
8 changed files with 169 additions and 32 deletions
|
|
@ -46,6 +46,9 @@ static void cmd_join(const char *data, SERVER_REC *server)
|
|||
if (g_hash_table_lookup(optlist, "invite"))
|
||||
channels = server->last_invite;
|
||||
else {
|
||||
if (*channels == '\0')
|
||||
cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
|
||||
|
||||
/* -<server tag> */
|
||||
server = cmd_options_get_server("join", optlist, server);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue