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: [PATCH] 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 --- Changes | 9 +++++---- src/modules.c | 2 +- version.log | 6 +++++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index f64bfea4c..9adfe2306 100644 --- a/Changes +++ b/Changes @@ -14,10 +14,11 @@ Anope Version S V N 12/09 F Langfiles had CHANAKILL instead of CHANKILL in syntax lines. [#640] 12/10 F NickServ ALIST not accepting Founder as level param. [#629] 12/10 F EVENT_TOPIC_UPDATES was not always sent when it should be. [#641] -12/24 F anoperc sends SIGTERM for restart and uses command line params [#645] -12/24 F Nickname changes were not recognised on TS6-based IRCd's [#646] -12/24 F Small typo in CHAN_REGISTER_NONE_CHANNEL [#647] -12/24 F Display error messages when RDB functions fail [ #00] +12/24 F anoperc sends SIGTERM for restart and uses command line params. [#645] +12/24 F Nickname changes were not recognised on TS6-based IRCd's. [#646] +12/24 F Small typo in CHAN_REGISTER_NONE_CHANNEL. [#647] +12/24 F Display error messages when RDB functions fail. [ #00] +12/27 F ModuleNoticeLang was printf'ing twice. [#650] Anope Version 1.7.17 -------------------- 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 { diff --git a/version.log b/version.log index 79d177605..71f0762a3 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="17" VERSION_EXTRA="-svn" -VERSION_BUILD="1210" +VERSION_BUILD="1211" # $Log$ # +# BUILD : 1.7.17 (1211) +# BUGS : 650 +# NOTES : Fixed ModuleNoticeLang which was formatting the string twice +# # BUILD : 1.7.17 (1210) # BUGS : 645 646 647 # NOTES : Fixed anoperc restart, nickchanges on TS6, typo in CHAN_REGISTER_NONE_CHANNEL; added error messages when RDB functions fail (thx heinz)