- return Version(1,0,0,1,VF_COMMON|VF_VENDOR,API_VERSION);
- }
-};
-
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleKnockFactory : public ModuleFactory
-{
- public:
- ModuleKnockFactory()
- {
- }
-
- ~ModuleKnockFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleKnock(Me);
+ return Version(1, 1, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);