diff options
author | Peter Powell <petpow@saberuk.com> | 2018-03-31 13:02:57 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-03-31 13:16:27 +0100 |
commit | 802eed1734cf20e9a2549a5fe343d04c34e83a10 (patch) | |
tree | 4a9f2a64bd7913934ff014a4240b5fd815f9c39f /src/configreader.cpp | |
parent | b3a728d93f134684593576f8eaaf2daf8df39340 (diff) |
Move <security:announceinvites> to core_channel.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 4643c7613..58a932981 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -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 |