]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/cmode_b.cpp
Allow forward linking compatability by accepting higher protocol version numbers...
[user/henk/code/inspircd.git] / src / modes / cmode_b.cpp
index 34fe8586781f16cfee5bdebab9a18c1bb406c2d1..dad47a67bce878be86fd7fd4685834fa4f772a90 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -125,7 +125,7 @@ std::string& ModeChannelBan::AddBan(User *user, std::string &dest, Channel *chan
 
        for (BanList::iterator i = chan->bans.begin(); i != chan->bans.end(); i++)
        {
-               if (!strcasecmp(i->data.c_str(), dest.c_str()))
+               if (i->data == dest)
                {
                        /* dont allow a user to set the same ban twice */
                        dest = "";