diff options
author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-02 05:22:35 +0000 |
---|---|---|
committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-02 05:22:35 +0000 |
commit | 9a0b1efc24e84c7cf17a0e87c98fd1e22fe1c356 (patch) | |
tree | 3abf675a834d23b9064dce2333f7a2e5d0df336a /include/modules.h | |
parent | d2362719b256f556b862a85dd73a806ccc2faebe (diff) |
added a way to load multiple encryption modules at the same and to switch between encryption methods
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index 4cdbdaacc..021276dce 100644 --- a/include/modules.h +++ b/include/modules.h @@ -607,7 +607,7 @@ class CoreExport Module virtual EventReturn OnEncryptInPlace(char *buf, int size) { return EVENT_CONTINUE; } virtual EventReturn OnEncryptCheckLen(int passlen, int bufsize) { return EVENT_CONTINUE; } virtual EventReturn OnDecrypt(const char *src, char *dest, int size) { return EVENT_CONTINUE; } - virtual EventReturn OnCheckPassword(const char *plaintext, const char *password) { return EVENT_CONTINUE; } + virtual EventReturn OnCheckPassword(const char *plaintext, char *password) { return EVENT_CONTINUE; } /** Called on fantasy command * @param command The command @@ -1151,7 +1151,6 @@ struct MessageHash_ { /* Module Managment Functions */ MDE Module *findModule(const char *name); /* Find a module */ -int encryption_module_init(); /* Load the encryption module */ int protocol_module_init(); /* Load the IRCD Protocol Module up*/ MDE void moduleDisplayHelp(const char *service, User *u); |