diff options
author | Timo Sirainen <cras@irssi.org> | 2001-09-22 16:06:15 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-09-22 16:06:15 +0000 |
commit | a51170c00fd48a09963d236e69a97d5971eb2984 (patch) | |
tree | b8e448bcace28a32e7637b49f9abeea8edf1999e /src | |
parent | 80df4378d3ea40269f0f4199140b082ad4cd3974 (diff) | |
download | irssi-a51170c00fd48a09963d236e69a97d5971eb2984.zip |
channel_create() wasn't called properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1813 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/perl/common/Channel.xs | 2 | ||||
-rw-r--r-- | src/perl/common/module.h | 1 |
2 files changed, 2 insertions, 1 deletions
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" |