mirror of
https://github.com/inspircd/inspircd.git
synced 2025-04-03 14:50:04 -04:00
Fix parsing <security:announceinvites>.
This commit is contained in:
parent
437c2045ad
commit
5b9ffbab42
@ -179,8 +179,8 @@ class CoreModChannel
|
||||
|
||||
ConfigTag* securitytag = ServerInstance->Config->ConfValue("security");
|
||||
Invite::AnnounceState newannouncestate = securitytag->getEnum("announceinvites", Invite::ANNOUNCE_DYNAMIC, {
|
||||
{ "all", Invite::ANNOUNCE_NONE },
|
||||
{ "dynamic", Invite::ANNOUNCE_ALL },
|
||||
{ "all", Invite::ANNOUNCE_ALL },
|
||||
{ "dynamic", Invite::ANNOUNCE_DYNAMIC },
|
||||
{ "none", Invite::ANNOUNCE_NONE },
|
||||
{ "ops", Invite::ANNOUNCE_OPS },
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user