]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_vhost.cpp
Socket engine tweaks to fix a glitch, and improvements to new m_ident
[user/henk/code/inspircd.git] / src / modules / m_vhost.cpp
index 71f1069a3eb4557ed6566bca18acee74f48ae8ac..0827343de6a9f23f2408ef4a94211cfa04dfa713 100644 (file)
 
 /** Handle /VHOST
  */
-class cmd_vhost : public command_t
+class cmd_vhost : public Command
 {
  public:
-       cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
+       cmd_vhost (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);