mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9833844f38
commit
95b94ed83c
10 changed files with 13 additions and 10 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue