+ private:
+ char* hostmap;
+ public:
+ CommandChghost (InspIRCd* Instance, char* hmap) : Command(Instance,"CHGHOST","o",2), hostmap(hmap)
+ {
+ this->source = "m_chghost.so";
+ syntax = "<nick> <newhost>";
+ TRANSLATE3(TR_NICK, TR_TEXT, TR_END);
+ }
+
+ CmdResult Handle(const std::vector<std::string> ¶meters, User *user)