summaryrefslogtreecommitdiff
path: root/src/encrypt.c
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-02 05:22:35 +0000
committerDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-02 05:22:35 +0000
commit9a0b1efc24e84c7cf17a0e87c98fd1e22fe1c356 (patch)
tree3abf675a834d23b9064dce2333f7a2e5d0df336a /src/encrypt.c
parentd2362719b256f556b862a85dd73a806ccc2faebe (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 'src/encrypt.c')
-rw-r--r--src/encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encrypt.c b/src/encrypt.c
index 4b5db587e..6faac199c 100644
--- a/src/encrypt.c
+++ b/src/encrypt.c
@@ -84,7 +84,7 @@ int enc_decrypt(const char *src, char *dest, int size)
* 0 if the password does not match
* 0 if an error occurred while checking
**/
-int enc_check_password(const char *plaintext, const char *password)
+int enc_check_password(const char *plaintext, char *password)
{
EventReturn MOD_RESULT;
FOREACH_RESULT(I_OnCheckPassword, OnCheckPassword(plaintext, password));