summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 19:31:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 19:31:51 +0000
commit21f9acdb6c5c35b26d926f75845135f16c3c54e9 (patch)
tree0e8c863ccce13c2951622cb2d34262eb3027521c /src
parent31eaefa6a6244bc1226bacf9b3d9e527f49f035f (diff)
Add factories for other types
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8439 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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)