mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-03 15:47:04 +01:00
Core/Datastore: updated db2 field names and types to reflect client magic names
*fixed string length for sending names in item_sparse length
This commit is contained in:
@@ -98,7 +98,7 @@ public:
|
||||
|
||||
char const* str = locStr->Str[locale];
|
||||
std::size_t len = strlen(str);
|
||||
buffer << uint16(len ? len + 1 : 0);
|
||||
buffer << uint16(len ? len : 0);
|
||||
if (len)
|
||||
{
|
||||
buffer.append(str, len);
|
||||
|
||||
Reference in New Issue
Block a user