/** Handle /VHOST
*/
-class cmd_vhost : public command_t
+class CommandVhost : public Command
{
public:
- cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
+ CommandVhost (InspIRCd* Instance) : Command(Instance,"VHOST", 0, 2)
{
this->source = "m_vhost.so";
syntax = "<username> <password>";
}
- CmdResult Handle (const char** parameters, int pcnt, userrec *user)
+ CmdResult Handle (const char** parameters, int pcnt, User *user)
{
ConfigReader *Conf = new ConfigReader(ServerInstance);
{
private:
- cmd_vhost* mycommand;
+ CommandVhost* mycommand;
public:
ModuleVHost(InspIRCd* Me) : Module(Me)
{
- mycommand = new cmd_vhost(ServerInstance);
+ mycommand = new CommandVhost(ServerInstance);
ServerInstance->AddCommand(mycommand);
}