diff options
author | Timo Sirainen <cras@irssi.org> | 2000-08-20 07:17:13 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-08-20 07:17:13 +0000 |
commit | 67cc9af1bd825268e0bf12dca262bdbf64e56d29 (patch) | |
tree | f1baf82253e80d7c95e799f0f528c10b321d5a8c /src/perl | |
parent | 7cbd164e759449450f38fac0d087960c3b5355b8 (diff) | |
download | irssi-67cc9af1bd825268e0bf12dca262bdbf64e56d29.zip |
Channel mode handling changed - there's no more mode_xxx fields in
channel structure, but instead just one mode string field. Also
handling half-ops (+h) should work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/xs/Irssi-channel.xs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/perl/xs/Irssi-channel.xs b/src/perl/xs/Irssi-channel.xs index 62d5892e..8f14ebc9 100644 --- a/src/perl/xs/Irssi-channel.xs +++ b/src/perl/xs/Irssi-channel.xs @@ -76,6 +76,7 @@ PPCODE: hv_store(hv, "createtime", 10, newSViv(channel->createtime), 0); hv_store(hv, "topic", 5, new_pv(channel->topic), 0); + hv_store(hv, "mode", 4, new_pv(channel->mode), 0); hv_store(hv, "limit", 5, newSViv(channel->limit), 0); hv_store(hv, "key", 3, new_pv(channel->key), 0); @@ -109,10 +110,6 @@ command(channel, cmd) CODE: signal_emit("send command", 3, cmd, channel->server, channel); -char * -channel_get_mode(channel) - Irssi::Channel channel - Irssi::Nick nicklist_insert(channel, nick, op, voice, send_massjoin) Irssi::Channel channel |