summaryrefslogtreecommitdiff
path: root/modules/hostserv/request.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-10-09 22:03:55 -0400
committerAdam <Adam@anope.org>2016-10-09 22:03:55 -0400
commitcfbbcf32164c6011c80d2a3eed78f1db48c9903b (patch)
tree1104d09ee7530e61be3220b81bcd38a7d1585f74 /modules/hostserv/request.cpp
parentab2e1947123a261a8793d6190999efdce1144c9d (diff)
Adjust reading memoserv core config opts
Diffstat (limited to 'modules/hostserv/request.cpp')
-rw-r--r--modules/hostserv/request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hostserv/request.cpp b/modules/hostserv/request.cpp
index 2e9ccd41b..3cc2b1aa9 100644
--- a/modules/hostserv/request.cpp
+++ b/modules/hostserv/request.cpp
@@ -204,7 +204,7 @@ class CommandHSRequest : public Command
return;
}
- time_t send_delay = Config->GetModule("memoserv")->Get<time_t>("senddelay");
+ time_t send_delay = Config->GetModule("memoserv/main")->Get<time_t>("senddelay");
if (Config->GetModule(this->GetOwner())->Get<bool>("memooper") && send_delay > 0 && u && u->lastmemosend + send_delay > Anope::CurTime)
{
source.Reply(_("Please wait %d seconds before requesting a new vHost."), send_delay);