summaryrefslogtreecommitdiff
path: root/modules/database/db_old.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-12-10 02:09:51 -0500
committerAdam <Adam@anope.org>2014-12-10 02:09:51 -0500
commit50acad5ce451b44b469890fe46ce14c7ffd031ca (patch)
tree231101b9e475dacd58b4d03d1a69df9fe7a82f28 /modules/database/db_old.cpp
parent3e5a5e1c669f6027b897f7358d45f92e1552f746 (diff)
Unconst these config Get<Anope::string> calls as it makes no sense
Diffstat (limited to 'modules/database/db_old.cpp')
-rw-r--r--modules/database/db_old.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index 7058bcd2b..2e13342a9 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -1374,7 +1374,7 @@ class DBOld : public Module
, mlock_limit(this, "mlock_limit")
, mlock_key(this, "mlock_key")
{
- hashm = Config->GetModule(this)->Get<const Anope::string>("hash");
+ hashm = Config->GetModule(this)->Get<Anope::string>("hash");
if (hashm != "md5" && hashm != "oldmd5" && hashm != "sha1" && hashm != "plain" && hashm != "sha256")
throw ModuleException("Invalid hash method");