From 8d6f4d9d40c68f3174cbe94f7107dea74d00d5fc Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Tue, 30 Oct 2012 08:58:50 +0100 Subject: Some remaining fixes --- plugins/perl/perl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/perl') 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); -- cgit 1.4.1