/* $ModDesc: Provides masking of user hostnames via traditional /VHOST command */
-static ConfigReader *Conf;
-
+static ConfigReader* Conf;
+/** Handle /VHOST
+ */
class cmd_vhost : public command_t
{
public:
- cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
+ cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
{
this->source = "m_vhost.so";
syntax = "<username> <password>";
virtual Version GetVersion()
{
- // returns the version number of the module to be
- // listed in /MODULES
- return Version(1,0,0,1,VF_VENDOR);
+ return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
};