mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
Implement CHANTYPES support
This commit is contained in:
parent
c122a2a226
commit
16c71cf1fb
23 changed files with 57 additions and 55 deletions
|
|
@ -46,7 +46,7 @@ static void sig_event_forward(SERVER_REC *server, const char *data,
|
|||
char *params, *from, *to;
|
||||
|
||||
params = event_get_params(data, 3, NULL, &from, &to);
|
||||
if (from != NULL && to != NULL && ischannel(*from) && ischannel(*to)) {
|
||||
if (from != NULL && to != NULL && server_ischannel(server, *from) && server_ischannel(server, *to)) {
|
||||
channel = irc_channel_find(server, from);
|
||||
if (channel != NULL && irc_channel_find(server, to) == NULL) {
|
||||
window_bind_add(window_item_window(channel),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue