summaryrefslogtreecommitdiff
path: root/modules/commands/hs_request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r--modules/commands/hs_request.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/hs_request.cpp b/modules/commands/hs_request.cpp
index 5203b086b..e7d39f589 100644
--- a/modules/commands/hs_request.cpp
+++ b/modules/commands/hs_request.cpp
@@ -328,17 +328,17 @@ class CommandHSWaiting : public Command
class HSRequest : public Module
{
- Serialize::Type request_type;
CommandHSRequest commandhsrequest;
CommandHSActivate commandhsactive;
CommandHSReject commandhsreject;
CommandHSWaiting commandhswaiting;
ExtensibleItem<HostRequest> hostrequest;
+ Serialize::Type request_type;
public:
HSRequest(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
- request_type("HostRequest", HostRequest::Unserialize), commandhsrequest(this), commandhsactive(this),
- commandhsreject(this), commandhswaiting(this), hostrequest(this, "hostrequest")
+ commandhsrequest(this), commandhsactive(this),
+ commandhsreject(this), commandhswaiting(this), hostrequest(this, "hostrequest"), request_type("HostRequest", HostRequest::Unserialize)
{
if (!IRCD || !IRCD->CanSetVHost)