]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Implement support for banning users from channels by country code.
[user/henk/code/inspircd.git] / src / configreader.cpp
index 4643c761353fd0c17129084be2d3e1ba7aa0bdf2..58a932981a402a8213c7386c30a9fd083e9372da 100644 (file)
@@ -492,17 +492,6 @@ void ServerConfig::Fill()
                        throw CoreException("Invalid chanmode " + std::string(1, *p) + " was found.");
                DisabledCModes.set(*p - 'A');
        }
-
-       std::string v = security->getString("announceinvites");
-
-       if (v == "ops")
-               AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_OPS;
-       else if (v == "all")
-               AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_ALL;
-       else if (v == "dynamic")
-               AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_DYNAMIC;
-       else
-               AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_NONE;
 }
 
 // WARNING: it is not safe to use most of the codebase in this function, as it