mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/nctcp crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e09be2c7b4
commit
8acf2cd5f9
@ -145,7 +145,7 @@ static void cmd_nctcp(const char *data, IRC_SERVER_REC *server)
|
|||||||
if (server == NULL || !server->connected)
|
if (server == NULL || !server->connected)
|
||||||
cmd_return_error(CMDERR_NOT_CONNECTED);
|
cmd_return_error(CMDERR_NOT_CONNECTED);
|
||||||
|
|
||||||
if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_GETREST,
|
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_GETREST,
|
||||||
&target, &text))
|
&target, &text))
|
||||||
return;
|
return;
|
||||||
if (*target == '\0' || *text == '\0')
|
if (*target == '\0' || *text == '\0')
|
||||||
|
Loading…
Reference in New Issue
Block a user