Warn the user when both ident handlers are enabled

This commit is contained in:
Maxime Poulin 2016-04-26 16:53:29 -04:00
parent fabb758985
commit 22d4f40613
No known key found for this signature in database
GPG Key ID: CB63C36252F40D4B

View File

@ -41,6 +41,10 @@ module.exports = function(options) {
} }
if ((config.identd || {}).enable) { if ((config.identd || {}).enable) {
if (manager.identHandler) {
log.warn("Using both identd and oidentd at the same time!");
}
require("./identd").start(config.identd.port); require("./identd").start(config.identd.port);
} }