summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-05 20:56:28 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-05 20:56:28 +0000
commit7e54de3ffa0f36900de29b06236864d97ce5dda7 (patch)
tree30b942b34eae9ef24c3478bf35093933e7317c72 /src/modules
parentad62df7a957c28da2ab7afe67398a9def56dbba6 (diff)
Fix up brokage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5871 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_oper_hash.cpp2
-rw-r--r--src/modules/m_sha256.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp
index a83b9cc51..7f768f0e3 100644
--- a/src/modules/m_oper_hash.cpp
+++ b/src/modules/m_oper_hash.cpp
@@ -105,7 +105,7 @@ class ModuleOperHash : public Module
{
ServerInstance->Log(DEBUG, "Found interface 'HashRequest' containing %d modules", ml->size());
- for (modulelist::iterator m = ml->begin(); m != ml->end(); ml++)
+ for (modulelist::iterator m = ml->begin(); m != ml->end(); m++)
{
std::string name = HashNameRequest(this, *m).Send();
hashers[name] = *m;
diff --git a/src/modules/m_sha256.cpp b/src/modules/m_sha256.cpp
index 68b7ad3d9..d6378d405 100644
--- a/src/modules/m_sha256.cpp
+++ b/src/modules/m_sha256.cpp
@@ -279,7 +279,7 @@ class ModuleSHA256 : public Module
SHA256((const char*)SHA->GetHashData(), data, strlen(SHA->GetHashData()), chars ? chars : "0123456789abcdef", key);
return data;
}
- else if (strcmp("SUM", request->GetId()) == 0)
+ else if (strcmp("NAME", request->GetId()) == 0)
{
return "SHA256";
}