From a51170c00fd48a09963d236e69a97d5971eb2984 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 22 Sep 2001 16:06:15 +0000 Subject: channel_create() wasn't called properly git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1813 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/common/Channel.xs | 2 +- src/perl/common/module.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/perl') diff --git a/src/perl/common/Channel.xs b/src/perl/common/Channel.xs index f07f2049..cfcf72a2 100644 --- a/src/perl/common/Channel.xs +++ b/src/perl/common/Channel.xs @@ -45,7 +45,7 @@ channel_create(server, name, automatic) char *name int automatic CODE: - channel_create(server->chat_type, server, name, automatic); + CHAT_PROTOCOL(server)->channel_create(server, name, automatic); Irssi::Channel channel_find(server, name) diff --git a/src/perl/common/module.h b/src/perl/common/module.h index 4920e1d0..e4843174 100644 --- a/src/perl/common/module.h +++ b/src/perl/common/module.h @@ -14,6 +14,7 @@ #include "special-vars.h" #include "window-item-def.h" +#include "chat-protocols.h" #include "chatnets.h" #include "servers.h" #include "servers-reconnect.h" -- cgit v1.2.3