- public:
- GenericCap cap;
-
- ModuleUHNames() : cap(this, "userhost-in-names")
- {
- }
-
- void init()
- {
- Implementation eventlist[] = { I_OnEvent, I_OnPreCommand, I_OnNamesListItem, I_On005Numeric };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
- }