mirror of
https://github.com/inspircd/inspircd.git
synced 2025-04-04 07:10:03 -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");
|
ConfigTag* securitytag = ServerInstance->Config->ConfValue("security");
|
||||||
Invite::AnnounceState newannouncestate = securitytag->getEnum("announceinvites", Invite::ANNOUNCE_DYNAMIC, {
|
Invite::AnnounceState newannouncestate = securitytag->getEnum("announceinvites", Invite::ANNOUNCE_DYNAMIC, {
|
||||||
{ "all", Invite::ANNOUNCE_NONE },
|
{ "all", Invite::ANNOUNCE_ALL },
|
||||||
{ "dynamic", Invite::ANNOUNCE_ALL },
|
{ "dynamic", Invite::ANNOUNCE_DYNAMIC },
|
||||||
{ "none", Invite::ANNOUNCE_NONE },
|
{ "none", Invite::ANNOUNCE_NONE },
|
||||||
{ "ops", Invite::ANNOUNCE_OPS },
|
{ "ops", Invite::ANNOUNCE_OPS },
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user