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:
+5
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user