mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Irssi didn't set the internal away reason when reconnecting to server while
being away. Patch by c0ffee. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3040 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
439818bcf8
commit
67d4550f21
@ -68,8 +68,12 @@ static void sig_connected(IRC_SERVER_REC *server)
|
||||
if (!IS_IRC_SERVER(server) || !server->connrec->reconnection)
|
||||
return;
|
||||
|
||||
if (server->connrec->away_reason != NULL)
|
||||
if (server->connrec->away_reason != NULL) {
|
||||
irc_send_cmdv(server, "AWAY :%s", server->connrec->away_reason);
|
||||
|
||||
g_free(server->away_reason);
|
||||
server->away_reason = g_strdup(server->connrec->away_reason);
|
||||
}
|
||||
}
|
||||
|
||||
static void event_nick_collision(IRC_SERVER_REC *server, const char *data)
|
||||
|
Loading…
Reference in New Issue
Block a user