mirror of
https://github.com/anope/anope.git
synced 2026-06-28 04:16:37 +02:00
Fix for bs badwords deletion. Good find Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2159 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -162,7 +162,7 @@ class CommandBSBadwords : public Command
|
||||
|
||||
for (i = 0; i < ci->bwcount; i++)
|
||||
{
|
||||
if (!ci->badwords[i].in_use)
|
||||
if (ci->badwords[i].in_use && !stricmp(ci->badwords[i].word, word))
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user