diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-07 20:57:29 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-07 20:57:29 +0000 |
commit | 0a371aec7b0cddc372d72020dd727cc89c626738 (patch) | |
tree | e0c1104e0609a25c9abfbfe7906a8d69d83c0660 /src | |
parent | 011e4268459819a76b786a22c81595b9aa34d665 (diff) |
Removed an unneeded static_cast in enc_none
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2941 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/core/enc_none.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/enc_none.c b/src/core/enc_none.c index e6d1a16d6..ffb6cb03d 100644 --- a/src/core/enc_none.c +++ b/src/core/enc_none.c @@ -48,7 +48,7 @@ class ENone : public Module memset(&cpass, 0, sizeof(cpass)); size_t pos = src.find(":"); std::string buf(src.begin()+pos+1, src.end()); - b64_decode(buf.c_str(), static_cast<char *>(cpass), 1000); + b64_decode(buf.c_str(), cpass, 1000); dest.assign(cpass); return EVENT_ALLOW; } |