diff options
author | Adam <Adam@anope.org> | 2013-08-27 03:18:43 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-27 03:18:43 -0400 |
commit | 59ea36c831796aaa29427e9645e4eb56185b04f3 (patch) | |
tree | 53d7d700c9dfd066ca86739ca7bbd75f0fa990b9 /modules/commands/hs_request.cpp | |
parent | fac880664c41f36a6f091e2b6e6321a51bc5070b (diff) |
Move Serialize::Types to construct after the corresponding extensible items they require when unserializing
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r-- | modules/commands/hs_request.cpp | 6 |
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) |