{
// Send public version string
this->WriteLine(CmdBuilder(from->GetID(), "VERSION").push_last(from->GetVersion()));
+
+ // Send full version string that contains more information and is shown to opers
+ this->WriteLine(CommandSInfo::Builder(from, "fullversion", from->GetFullVersion()));
}
/** Recursively send the server tree.
const std::string& key = params.front();
const std::string& value = params.back();
+ if (key == "fullversion")
+ {
+ server->SetFullVersion(value);
+ }
+
return CMD_SUCCESS;
}