mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
"/QUERY" no longer unqueries, but just complains about not getting enough
parameters. Lets see how many people dislike this change... git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2931 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f31b59b48b
commit
1c7fc48b08
@ -227,13 +227,7 @@ static void cmd_query(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
|
|||||||
PARAM_FLAG_OPTIONS | PARAM_FLAG_UNKNOWN_OPTIONS,
|
PARAM_FLAG_OPTIONS | PARAM_FLAG_UNKNOWN_OPTIONS,
|
||||||
"query", &optlist, &nick, &msg))
|
"query", &optlist, &nick, &msg))
|
||||||
return;
|
return;
|
||||||
|
if (*nick == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
|
||||||
if (*nick == '\0') {
|
|
||||||
/* remove current query */
|
|
||||||
cmd_unquery("", server, item);
|
|
||||||
cmd_params_free(free_arg);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
server = cmd_options_get_server("query", optlist, server);
|
server = cmd_options_get_server("query", optlist, server);
|
||||||
if (server == NULL) {
|
if (server == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user