Allow emails as usernames

This commit is contained in:
Lauri Kasanen
2023-11-06 11:07:01 +02:00
parent 7350b12b3d
commit 6cd50869c2
3 changed files with 4 additions and 4 deletions

View File

@@ -550,7 +550,7 @@ void GetAPIMessager::netGetBottleneckStats(char *buf, uint32_t len) {
const char *id = it->first.c_str();
const char *data = it->second.c_str();
const char *at = strchr(id, '@');
const char *at = strrchr(id, '@');
if (!at)
continue;