early-access version 3858

This commit is contained in:
pineappleEA
2023-09-07 17:18:13 +02:00
parent eef8ceeda0
commit 5db3acb6c7
20 changed files with 54 additions and 140 deletions

View File

@@ -265,7 +265,7 @@ int main(int argc, char** argv) {
password = match[2];
address = match[3];
if (!match[4].str().empty())
port = std::stoi(match[4]);
port = static_cast<u16>(std::stoi(match[4]));
std::regex nickname_re("^[a-zA-Z0-9._\\- ]+$");
if (!std::regex_match(nickname, nickname_re)) {
std::cout