From c0c0a6441e5ad39116856b8885ed1ea8b91cdb2e Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Wed, 27 Dec 2006 15:44:30 +0000 Subject: BUILD : 1.7.17 (1211) BUGS : 650 NOTES : Fixed ModuleNoticeLang which was formatting the string twice git-svn-id: svn://svn.anope.org/anope/trunk@1211 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@930 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules.c b/src/modules.c index 44d7e4815..a57824114 100644 --- a/src/modules.c +++ b/src/modules.c @@ -2627,7 +2627,7 @@ void moduleNoticeLang(char *source, User * u, int number, ...) if (*s) *s++ = '\0'; strscpy(outbuf, t, sizeof(outbuf)); - notice(source, u->nick, outbuf); + notice(source, u->nick, "%s", outbuf); } free(buf); } else { -- cgit