diff options
author | Timo Sirainen <cras@irssi.org> | 2002-05-19 12:59:59 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-05-19 12:59:59 +0000 |
commit | 7437bbea5fa8025374b4b127d4a6e4e67d75ab94 (patch) | |
tree | d55d58f920a1d73c3de5773677f1cf8067d92ba8 | |
parent | e2ffdfec50591a3e10bf9514a5538f2d0ae15bfa (diff) | |
download | irssi-7437bbea5fa8025374b4b127d4a6e4e67d75ab94.zip |
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
-rw-r--r-- | src/irc/core/irc-servers-reconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |