1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 01:23:13 +02:00

Rewrote cs_access to be more C++ish, changed NumberList to be more C++ish and fixed some compiler warnings on 64bit systems

This commit is contained in:
Adam
2010-05-27 19:41:16 -04:00
committed by Adam
parent 1394c96173
commit c43666e344
6 changed files with 376 additions and 328 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ class CommandBSBadwords : public Command
{
BadWord *bw = ci->GetBadWord(i);
if (!bw->word.empty() && (Config.BSCaseSensitive && !stricmp(bw->word.c_str(), realword.c_str())
if (!bw->word.empty() && ((Config.BSCaseSensitive && !stricmp(bw->word.c_str(), realword.c_str()))
|| (!Config.BSCaseSensitive && bw->word == realword.c_str())))
{
notice_lang(Config.s_BotServ, u, BOT_BADWORDS_ALREADY_EXISTS, bw->word.c_str(), ci->name.c_str());