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 e13c2cf3..de7fb2ad 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -236,7 +236,7 @@ char *perl_get_use_list(void)
g_string_append(str, "use Irssi::UI;");
for (tmp = use_protocols; tmp != NULL; tmp = tmp->next)
- g_string_sprintfa(str, "use Irssi::%s;", (char *) tmp->data);
+ g_string_append_printf(str, "use Irssi::%s;", (char *) tmp->data);
ret = str->str;
g_string_free(str, FALSE);