summaryrefslogtreecommitdiff
path: root/src/core/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/commands.c')
-rw-r--r--src/core/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commands.c b/src/core/commands.c
index 0cbb70b0..46d0c666 100644
--- a/src/core/commands.c
+++ b/src/core/commands.c
@@ -636,7 +636,7 @@ static char *get_optional_channel(WI_ITEM_REC *active_item, char **data)
channel = cmd_get_param(&tmp);
if (strcmp(channel, "*") == 0 ||
- !active_item->server->ischannel(channel))
+ !server_ischannel(active_item->server, channel))
ret = active_item->name;
else {
/* Find the channel first and use it's name if found.