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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user