1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 10:03:14 +02:00

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
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-05-15 10:28:54 +00:00
parent 8431d0515f
commit c580ac75fc
2 changed files with 9 additions and 5 deletions
+4 -4
View File
@@ -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;
+5 -1
View File
@@ -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.