diff options
author | Timo Sirainen <cras@irssi.org> | 2000-12-09 20:54:47 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-12-09 20:54:47 +0000 |
commit | 5dcd6833242a88cbf0fdbcfa6a25fbe3bad77426 (patch) | |
tree | 2f9431cda59df10bcb6f80e2e5e662beead43e73 /src/perl/common/Core.xs | |
parent | 8d98e80a6b914c6e1708b2ccc5cfd49e0ed43584 (diff) | |
download | irssi-5dcd6833242a88cbf0fdbcfa6a25fbe3bad77426.zip |
fixes, perl should work correctly now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@982 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common/Core.xs')
-rw-r--r-- | src/perl/common/Core.xs | 16 |
1 files changed, 0 insertions, 16 deletions
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); - } |