summary refs log tree commit diff stats
path: root/plugins/perl
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 08:58:50 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 08:58:50 +0100
commit8d6f4d9d40c68f3174cbe94f7107dea74d00d5fc (patch)
tree5c2cdf86338b10b5d4202491a03d84f5ae4126e5 /plugins/perl
parente681eafa78262d0c177832d67900687f2c938081 (diff)
Some remaining fixes
Diffstat (limited to 'plugins/perl')
-rw-r--r--plugins/perl/perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 3b2bbba1..5427c62f 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -836,7 +836,7 @@ XS (XS_Xchat_get_prefs)
 	} else {
 
 
-		switch (xchat_get_prefs (ph, SvPV_nolen (ST (0)), &str, &integer)) {
+		switch (hexchat_get_prefs (ph, SvPV_nolen (ST (0)), &str, &integer)) {
 		case 0:
 			XSRETURN_UNDEF;
 			break;
@@ -1376,7 +1376,7 @@ perl_init (void)
 #endif
 
 	warn = 0;
-	xchat_get_prefs (ph, "perl_warnings", NULL, &warn);
+	hexchat_get_prefs (ph, "perl_warnings", NULL, &warn);
 	arg_count = warn ? 4 : 3;
 
 	PERL_SYS_INIT3 (&arg_count, (char ***)&perl_args, (char ***)&env);