mirror of
https://github.com/anope/anope.git
synced 2026-07-02 16:13:12 +02:00
Prevent using enc_posix as a primary encryption module.
This commit is contained in:
@@ -19,6 +19,8 @@ public:
|
||||
EPOSIX(const Anope::string &modname, const Anope::string &creator)
|
||||
: Module(modname, creator, ENCRYPTION | VENDOR)
|
||||
{
|
||||
if (ModuleManager::FindFirstOf(ENCRYPTION) == this)
|
||||
throw ModuleException("enc_posix can not be used as a primary encryption method");
|
||||
}
|
||||
|
||||
void OnCheckAuthentication(User *, IdentifyRequest *req) override
|
||||
|
||||
Reference in New Issue
Block a user