mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/QUOTE and /RAWQUOTE should work as soon as the socket is connected.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2020 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0b4db7b17a
commit
5563a8f203
@ -523,7 +523,10 @@ static void cmd_sconnect(const char *data, IRC_SERVER_REC *server)
|
||||
/* SYNTAX: QUOTE <data> */
|
||||
static void cmd_quote(const char *data, IRC_SERVER_REC *server)
|
||||
{
|
||||
CMD_IRC_SERVER(server);
|
||||
if (server != NULL && !IS_IRC_SERVER(server))
|
||||
return;
|
||||
if (server == NULL)
|
||||
cmd_return_error(CMDERR_NOT_CONNECTED);
|
||||
|
||||
irc_send_cmd(server, data);
|
||||
}
|
||||
@ -531,7 +534,10 @@ static void cmd_quote(const char *data, IRC_SERVER_REC *server)
|
||||
/* SYNTAX: RAWQUOTE <data> */
|
||||
static void cmd_rawquote(const char *data, IRC_SERVER_REC *server)
|
||||
{
|
||||
CMD_IRC_SERVER(server);
|
||||
if (server != NULL && !IS_IRC_SERVER(server))
|
||||
return;
|
||||
if (server == NULL)
|
||||
cmd_return_error(CMDERR_NOT_CONNECTED);
|
||||
|
||||
irc_send_cmd_full(server, data, FALSE, FALSE, TRUE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user