- cmd_chghost () : command_t("CHGHOST",'o',2)
- {
- this->source = "m_chghost.so";
- }
-
- void Handle(char **parameters, int pcnt, userrec *user)
+ CommandChghost(Module* Creator, char* hmap) : Command(Creator,"CHGHOST", 2), hostmap(hmap)
+ {
+ flags_needed = 'o';
+ syntax = "<nick> <newhost>";
+ TRANSLATE3(TR_NICK, TR_TEXT, TR_END);
+ }
+
+ CmdResult Handle(const std::vector<std::string> ¶meters, User *user)