1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 04:16:39 +02:00

Move Serialize::Types to construct after the corresponding extensible items they require when unserializing

This commit is contained in:
Adam
2013-08-27 03:18:43 -04:00
parent fac880664c
commit 59ea36c831
6 changed files with 15 additions and 17 deletions
+3 -3
View File
@@ -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)