diff options
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 06a86a775..a22e0c620 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -361,6 +361,8 @@ bool ValidateInvite(ServerConfig* conf, const char* tag, const char* value, Valu conf->AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_OPS; else if (v == "all") conf->AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_ALL; + else if (v == "dynamic") + conf->AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_DYNAMIC; else conf->AnnounceInvites = ServerConfig::INVITE_ANNOUNCE_NONE; |