From e395e87dedd9aa85f05e5c74330a76f1ef700371 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 26 Aug 2000 15:39:44 +0000 Subject: Lots of moving stuff around - hopefully I didn't break too much :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/xs/Irssi-window.xs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/perl/xs/Irssi-window.xs') diff --git a/src/perl/xs/Irssi-window.xs b/src/perl/xs/Irssi-window.xs index f1766ffa..65382bbb 100644 --- a/src/perl/xs/Irssi-window.xs +++ b/src/perl/xs/Irssi-window.xs @@ -1,7 +1,7 @@ MODULE = Irssi PACKAGE = Irssi void -command(cmd, server=active_win->active_server, item=active_win->active) +command(cmd, server=IRC_SERVER(active_win->active_server), item=active_win->active) char *cmd Irssi::Server server Irssi::Windowitem item @@ -18,7 +18,7 @@ OUTPUT: Irssi::Server active_server() CODE: - RETVAL = active_win->active_server; + RETVAL = IRC_SERVER(active_win->active_server); OUTPUT: RETVAL @@ -47,7 +47,7 @@ command(server, cmd, item=active_win->active) Irssi::Server server Irssi::Windowitem item CODE: - if (item != NULL && item->server != server) + if (item != NULL && item->server != SERVER(server)) item = NULL; signal_emit("send command", 3, cmd, server, item); -- cgit v1.2.3