summaryrefslogtreecommitdiff
path: root/src/perl/textui
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/textui')
-rw-r--r--src/perl/textui/TextUI.pm2
-rw-r--r--src/perl/textui/TextUI.xs1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/perl/textui/TextUI.pm b/src/perl/textui/TextUI.pm
index df7e8674..21f6d03b 100644
--- a/src/perl/textui/TextUI.pm
+++ b/src/perl/textui/TextUI.pm
@@ -7,7 +7,7 @@ package Irssi::TextUI;
use strict;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-$VERSION = "0.20";
+$VERSION = "0.8";
require Exporter;
require DynaLoader;
diff --git a/src/perl/textui/TextUI.xs b/src/perl/textui/TextUI.xs
index 2fedc904..f3978212 100644
--- a/src/perl/textui/TextUI.xs
+++ b/src/perl/textui/TextUI.xs
@@ -82,6 +82,7 @@ PREINIT:
static int initialized = FALSE;
CODE:
if (initialized) return;
+ perl_api_version_check("Irssi::TextUI");
initialized = TRUE;
irssi_add_plains(textui_plains);