summaryrefslogtreecommitdiff
path: root/src/perl/perl-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/perl-common.c')
-rw-r--r--src/perl/perl-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index de7fb2ad..4018dcb1 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -228,7 +228,7 @@ char *perl_get_use_list(void)
str = g_string_new(NULL);
use_lib = settings_get_str("perl_use_lib");
- g_string_sprintf(str, "use lib qw(%s/scripts "SCRIPTDIR" %s);",
+ g_string_printf(str, "use lib qw(%s/scripts "SCRIPTDIR" %s);",
get_irssi_dir(), use_lib);
g_string_append(str, "use Irssi;");