From 5dcd6833242a88cbf0fdbcfa6a25fbe3bad77426 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 9 Dec 2000 20:54:47 +0000 Subject: fixes, perl should work correctly now :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@982 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/common/Core.xs | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/perl/common/Core.xs') diff --git a/src/perl/common/Core.xs b/src/perl/common/Core.xs index 55732b4f..1fc7fb9d 100644 --- a/src/perl/common/Core.xs +++ b/src/perl/common/Core.xs @@ -329,19 +329,3 @@ CODE: signal = g_strconcat("command ", cmd, NULL); perl_signal_remove(signal, func); g_free(signal); - -#******************************* -MODULE = Irssi PACKAGE = Irssi::Command PREFIX = command_ -#******************************* - -void -init(cmd) - Irssi::Command cmd -PREINIT: - HV *hv; -CODE: - hv = hvref(ST(0)); - if (hv != NULL) { - hv_store(hv, "category", 8, new_pv(cmd->category), 0); - hv_store(hv, "cmd", 3, new_pv(cmd->cmd), 0); - } -- cgit v1.2.3