- cmd_vhost() : command_t("VHOST", 0, 2)
- {
- this->source = "m_vhost.so";
- }
-
- void Handle (char **parameters, int pcnt, userrec *user)
- {
- for (int index = 0; index < Conf->Enumerate("vhost"); index++)
- {
- std::string mask = Conf->ReadValue("vhost","host",index);
+ cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
+ {
+ this->source = "m_vhost.so";
+ syntax = "<username> <password>";
+ }
+
+ void Handle (const char** parameters, int pcnt, userrec *user)
+ {
+ for (int index = 0; index < Conf->Enumerate("vhost"); index++)
+ {
+ std::string mask = Conf->ReadValue("vhost","host",index);