From 7437bbea5fa8025374b4b127d4a6e4e67d75ab94 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 19 May 2002 12:59:59 +0000 Subject: [PATCH] When reconnected to server, send the away message directly to server instead of calling /AWAY, so the away is set only to that one server.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2818 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-servers-reconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc/core/irc-servers-reconnect.c b/src/irc/core/irc-servers-reconnect.c index b8da95f5..1c6865de 100644 --- a/src/irc/core/irc-servers-reconnect.c +++ b/src/irc/core/irc-servers-reconnect.c @@ -68,7 +68,7 @@ static void sig_connected(IRC_SERVER_REC *server) return; if (server->connrec->away_reason != NULL) - signal_emit("command away", 2, server->connrec->away_reason, server, NULL); + irc_send_cmdv(server, "AWAY :%s", server->connrec->away_reason); } static void event_nick_collision(IRC_SERVER_REC *server, const char *data)