- CommandSethost* mycommand;
- char hostmap[256];
- public:
- ModuleSetHost(InspIRCd* Me)
- : Module(Me)
- {
- OnRehash(NULL,"");
- mycommand = new CommandSethost(ServerInstance, hostmap);
- ServerInstance->AddCommand(mycommand);
- Implementation eventlist[] = { I_OnRehash };
- ServerInstance->Modules->Attach(eventlist, this, 1);
- }