Misc NP fixes

This commit is contained in:
RipleyTom 2024-01-08 00:48:16 +01:00 committed by Megamouse
parent 0b984e9a23
commit 485fca34b0
3 changed files with 13 additions and 5 deletions

View file

@ -1124,7 +1124,7 @@ namespace np
basic_event to_add{};
to_add.event = event;
to_add.data = std::move(msg->second.data);
to_add.data = msg->second.data;
strcpy_trunc(to_add.from.userId.handle.data, msg->first);
strcpy_trunc(to_add.from.name.data, msg->first);