summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index a853eb35f..1f2782c4d 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -424,18 +424,30 @@ XLineManager::XLineManager(InspIRCd* Instance) : ServerInstance(Instance)
{
GFact = new GLineFactory(Instance);
EFact = new ELineFactory(Instance);
+ KFact = new KLineFactory(Instance);
+ QFact = new QLineFactory(Instance);
+ ZFact = new ZLineFactory(Instance);
RegisterFactory(GFact);
RegisterFactory(EFact);
+ RegisterFactory(KFact);
+ RegisterFactory(QFact);
+ RegisterFactory(ZFact);
}
XLineManager::~XLineManager()
{
UnregisterFactory(GFact);
UnregisterFactory(EFact);
+ UnregisterFactory(KFact);
+ UnregisterFactory(QFact);
+ UnregisterFactory(ZFact);
delete GFact;
delete EFact;
+ delete KFact;
+ delete QFact;
+ delete ZFact;
}
void XLine::Apply(User* u)