Warn the user when both ident handlers are enabled
This commit is contained in:
parent
fabb758985
commit
22d4f40613
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user