diff options
author | Timo Sirainen <cras@irssi.org> | 2001-05-11 14:18:18 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-05-11 14:18:18 +0000 |
commit | 9cc1675e1d10174b791e0660894806e6bd4e34b0 (patch) | |
tree | a010b627892e008ea973628bb58ece18477909f5 /src | |
parent | e3805b63a5d1d41e5354e238447e66c068fbe081 (diff) | |
download | irssi-9cc1675e1d10174b791e0660894806e6bd4e34b0.zip |
/NAMES needs only one argument, fixes "/NAMES -ops #a " where irssi thought
the channel was "#a " and instead of "#a"..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1478 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/fe-channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-channels.c b/src/fe-common/core/fe-channels.c index 6459d6e7..4647b323 100644 --- a/src/fe-common/core/fe-channels.c +++ b/src/fe-common/core/fe-channels.c @@ -487,8 +487,8 @@ static void cmd_names(const char *data, SERVER_REC *server, WI_ITEM_REC *item) if (!IS_SERVER(server) || !server->connected) cmd_return_error(CMDERR_NOT_CONNECTED); - if (!cmd_get_params(data, &free_arg, 1 | PARAM_FLAG_OPTIONS | - PARAM_FLAG_GETREST, "names", &optlist, &channel)) + if (!cmd_get_params(data, &free_arg, 1 | PARAM_FLAG_OPTIONS, + "names", &optlist, &channel)) return; if (strcmp(channel, "*") == 0 || *channel == '\0') { |