mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
/WHO and /WHO * should disply who list of the active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@302 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4282f07347
commit
f4d7561660
1 changed files with 2 additions and 2 deletions
|
|
@ -398,10 +398,10 @@ static void cmd_who(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item)
|
|||
params = cmd_get_params(data, 3 | PARAM_FLAG_OPTARGS | PARAM_FLAG_GETREST, &args, &channel, &rest);
|
||||
|
||||
if (strcmp(channel, "*") == 0 || *channel == '\0') {
|
||||
if (!irc_item_check(item))
|
||||
if (!irc_item_channel(item))
|
||||
cmd_return_error(CMDERR_NOT_JOINED);
|
||||
|
||||
data = item->name;
|
||||
channel = item->name;
|
||||
}
|
||||
if (strcmp(channel, "**") == 0) {
|
||||
/* ** displays all nicks.. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue