From 1acf87b4f028097d63efa79d5502f0a8cf7203b8 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Tue, 14 Oct 2008 03:41:36 +0000 Subject: Added notifyall directive to memoserv block in new config. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1447 5417fbe8-f217-4b02-8779-1006273d7864 --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/config.c b/src/config.c index b27cab2e3..e7bb72ee8 100644 --- a/src/config.c +++ b/src/config.c @@ -158,7 +158,7 @@ bool CSOpersOnly; int MSMaxMemos; time_t MSSendDelay; -int MSNotifyAll; +bool MSNotifyAll; int MSMemoReceipt; int BSDefDontKickOps; @@ -598,6 +598,7 @@ int ServerConfig::Read(bool bail) {"memoserv", "description", "Memo Service", new ValueContainerChar(&desc_MemoServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty}, {"memoserv", "maxmemos", "0", new ValueContainerInt(&MSMaxMemos), DT_INTEGER, NoValidation}, {"memoserv", "senddelay", "0", new ValueContainerTime(&MSSendDelay), DT_TIME, NoValidation}, + {"memoserv", "notifyall", "no", new ValueContainerBool(&MSNotifyAll), DT_BOOLEAN, NoValidation}, {NULL, NULL, NULL, NULL, DT_NOTHING, NoValidation} }; /* These tags can occur multiple times, and therefore they have special code to read them @@ -1262,7 +1263,6 @@ Directive directives[] = { {"ModuleDelayedAutoload", {{PARAM_STRING, PARAM_RELOAD, &ModulesDelayed}}}, {"MOTDFile", {{PARAM_STRING, PARAM_RELOAD, &MOTDFilename}}}, - {"MSNotifyAll", {{PARAM_SET, PARAM_RELOAD, &MSNotifyAll}}}, {"MSMemoReceipt", {{PARAM_POSINT, PARAM_RELOAD, &MSMemoReceipt}}}, {"NetworkName", {{PARAM_STRING, PARAM_RELOAD, &NetworkName}}}, {"NewsCount", {{PARAM_POSINT, PARAM_RELOAD, &NewsCount}}}, -- cgit