From 59ea36c831796aaa29427e9645e4eb56185b04f3 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 27 Aug 2013 03:18:43 -0400 Subject: Move Serialize::Types to construct after the corresponding extensible items they require when unserializing --- modules/commands/hs_request.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/commands/hs_request.cpp') 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; + 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) -- cgit