1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Only send QUOTE immediately when server didn't yet sent the 001 event

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4230 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Valentin Batz 2006-01-30 18:48:44 +00:00 committed by vb
parent 0d10e2cc06
commit 7e58590958

View File

@ -577,7 +577,10 @@ static void cmd_quote(const char *data, IRC_SERVER_REC *server)
if (server == NULL || server->connect_time == 0)
cmd_return_error(CMDERR_NOT_CONNECTED);
if (!server->connected)
irc_send_cmd_now(server, data);
else
irc_send_cmd(server, data);
}
/* SYNTAX: RAWQUOTE <data> */