* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2010 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
public:
GenericCap cap;
- ModuleUHNames(InspIRCd* Me) : Module(Me), cap(this, "userhost-in-names")
+ ModuleUHNames() : cap(this, "userhost-in-names")
{
Implementation eventlist[] = { I_OnEvent, I_OnPreCommand, I_OnNamesListItem, I_On005Numeric };
ServerInstance->Modules->Attach(eventlist, this, 4);
Version GetVersion()
{
- return Version("$Id$",VF_VENDOR,API_VERSION);
+ return Version("Provides the UHNAMES facility.",VF_VENDOR);
}
void On005Numeric(std::string &output)
nick = memb->user->GetFullHost();
}
- void OnEvent(Event* ev)
+ void OnEvent(Event& ev)
{
cap.HandleEvent(ev);
}