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

Patch from DukePyrolator to log an entry for when NSMemoReceipt isn't defined in the config.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2166 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
sjaz
2009-03-15 18:25:42 +00:00
parent 3ba4d4e97d
commit 324b4ee85e
+5 -3
View File
@@ -28,6 +28,11 @@ int AnopeInit(int argc, char **argv)
{
Command *c;
if (!MSMemoReceipt) {
alog("MSMemoReceipt not enabled in services.conf");
return MOD_STOP;
}
moduleAddAuthor("Anope");
moduleAddVersion
("$Id$");
@@ -37,9 +42,6 @@ int AnopeInit(int argc, char **argv)
moduleAddCommand(MEMOSERV, c, MOD_UNIQUE);
moduleSetMemoHelp(myMemoServHelp);
if (!MSMemoReceipt) {
return MOD_STOP;
}
return MOD_CONT;
}