#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "configreader.h"
#include "inspircd.h"
void Implements(char* List)
{
- List[I_On005Numeric] = 1;
- }
-
- virtual void On005Numeric(std::string &output)
- {
- ServerInstance->Modes->InsertMode(output,"K",4);
}
virtual ~ModuleKnock()
{
+ ServerInstance->Modes->DelMode(kn);
DELETE(kn);
}
virtual Version GetVersion()
{
- return Version(1,0,0,1,VF_STATIC|VF_VENDOR);
+ return Version(1,0,0,1,VF_COMMON|VF_VENDOR);
}
};