summaryrefslogtreecommitdiff
path: root/src/perl/xs/Irssi-window.xs
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-08-26 15:39:44 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-08-26 15:39:44 +0000
commite395e87dedd9aa85f05e5c74330a76f1ef700371 (patch)
tree1184487b13038499f1771e4c553222f85b8524d2 /src/perl/xs/Irssi-window.xs
parent3d124da13b8da5c0b535abfe6265fc471d9d2ebd (diff)
downloadirssi-e395e87dedd9aa85f05e5c74330a76f1ef700371.zip
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
Diffstat (limited to 'src/perl/xs/Irssi-window.xs')
-rw-r--r--src/perl/xs/Irssi-window.xs6
1 files changed, 3 insertions, 3 deletions
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);