1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 04:03:13 +02:00

Fix bug introduced in r2574 that would set passwords incorrectly when using enc_none

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2646 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2009-11-12 02:52:27 +00:00
parent 65628dfdec
commit 9c6576f78e
+1 -1
View File
@@ -30,7 +30,7 @@ class ENone : public Module
if(size>=len)
{
memset(dest,0,size);
strlcpy(dest,src,len);
strlcpy(dest,src,len + 1);
return EVENT_ALLOW;
}
return EVENT_STOP;