1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 09:16:38 +02:00

Add support for inspircd2.0+s mlock, improved on Unreal's, and made server side mlock usage configurable

This commit is contained in:
Adam
2012-05-23 19:35:56 -04:00
parent bf7d1a55af
commit 70fb5900a2
5 changed files with 74 additions and 5 deletions
+1
View File
@@ -1253,6 +1253,7 @@ ConfigItems::ConfigItems(ServerConfig *conf)
{"chanserv", "mlock", "+nrt", new ValueContainerString(&conf->MLock), DT_STRING | DT_ALLOW_EMPTY, NoValidation},
{"chanserv", "nomlock", "", new ValueContainerString(&conf->NoMLock), DT_STRING, NoValidation},
{"chanserv", "require", "", new ValueContainerString(&conf->CSRequire), DT_STRING, NoValidation},
{"chanserv", "use_server_side_mlock", "yes", new ValueContainerBool(&conf->UseServerSideMLock), DT_BOOLEAN, NoValidation},
{"memoserv", "name", "", new ValueContainerString(&conf->MemoServ), DT_STRING, NoValidation},
{"memoserv", "maxmemos", "0", new ValueContainerUInt(&conf->MSMaxMemos), DT_UINTEGER, NoValidation},
{"memoserv", "senddelay", "0", new ValueContainerTime(&conf->MSSendDelay), DT_TIME, NoValidation},