From 1c1312624dfcdc9bbf4b7cb2c08b611411bfa7f6 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 8 Nov 2009 18:00:54 +0000 Subject: Rewrote BuildStringList to use std::list instead of char** git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2632 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/enc_sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/enc_sha1.c') diff --git a/src/core/enc_sha1.c b/src/core/enc_sha1.c index 9c86875fe..87872241f 100644 --- a/src/core/enc_sha1.c +++ b/src/core/enc_sha1.c @@ -269,7 +269,7 @@ class ESHA1 : public Module /* when we are NOT the first module in the list, * we want to re-encrypt the pass with the new encryption */ - if (stricmp(EncModuleList[0], this->name.c_str())) + if (stricmp(EncModuleList.begin()->c_str(), this->name.c_str())) { enc_encrypt(plaintext, strlen(password), password, PASSMAX -1 ); } -- cgit