From c580ac75fc2eb76054684fb7fe5981c06f056986 Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sat, 15 May 2004 10:28:54 +0000 Subject: [PATCH] BUILD : 1.7.2 (107) BUGS : NOTES : woops, forgot a small condition ;) git-svn-id: svn://svn.anope.org/anope/trunk@107 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@83 5417fbe8-f217-4b02-8779-1006273d7864 --- botserv.c | 8 ++++---- version.log | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/botserv.c b/botserv.c index b8fb4ae12..3e4160f24 100644 --- a/botserv.c +++ b/botserv.c @@ -297,7 +297,7 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf) if (bw->type == BW_ANY && ((BSCaseSensitive && strstr(nbuf, bw->word)) - || stristr(nbuf, bw->word))) { + || (!BSCaseSensitive && stristr(nbuf, bw->word)))) { mustkick = 1; } else if (bw->type == BW_SINGLE) { int len = strlen(bw->word); @@ -2361,9 +2361,9 @@ static int do_badwords(User * u) } for (bw = ci->badwords, i = 0; i < ci->bwcount; bw++, i++) { - if (bw->word && - ((BSCaseSensitive && (!strcmp(bw->word, word))) - || (!BSCaseSensitive && (!stricmp(bw->word, word))))) { + if (bw->word && ((BSCaseSensitive && (!strcmp(bw->word, word))) + || (!BSCaseSensitive + && (!stricmp(bw->word, word))))) { notice_lang(s_BotServ, u, BOT_BADWORDS_ALREADY_EXISTS, bw->word, ci->name); return MOD_CONT; diff --git a/version.log b/version.log index e80b8e46c..0e53f30f9 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="2" -VERSION_BUILD="106" +VERSION_BUILD="107" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.2 (107) +# BUGS : +# NOTES : woops, forgot a small condition ;) +# # BUILD : 1.7.2 (106) # BUGS : # NOTES : Added BSCaseSensitive directive for a cAsE sEnSiTiVe badword kicker.