mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -149,8 +149,8 @@ public:
|
||||
Lfguild entry{};
|
||||
|
||||
entry.type = atoi(row[0]);
|
||||
entry.name = row[1];
|
||||
entry.comment = row[2];
|
||||
entry.name = row[1] ? row[1] : "";
|
||||
entry.comment = row[2] ? row[2] : "";
|
||||
entry.fromlevel = atoi(row[3]);
|
||||
entry.tolevel = atoi(row[4]);
|
||||
entry.classes = atoi(row[5]);
|
||||
@@ -291,8 +291,8 @@ public:
|
||||
Lfguild entry{};
|
||||
|
||||
entry.type = atoi(row[0]);
|
||||
entry.name = row[1];
|
||||
entry.comment = row[2];
|
||||
entry.name = row[1] ? row[1] : "";
|
||||
entry.comment = row[2] ? row[2] : "";
|
||||
entry.fromlevel = atoi(row[3]);
|
||||
entry.tolevel = atoi(row[4]);
|
||||
entry.classes = atoi(row[5]);
|
||||
@@ -324,8 +324,8 @@ public:
|
||||
Lfguild entry{};
|
||||
|
||||
entry.type = atoi(row[0]);
|
||||
entry.name = row[1];
|
||||
entry.comment = row[2];
|
||||
entry.name = row[1] ? row[1] : "";
|
||||
entry.comment = row[2] ? row[2] : "";
|
||||
entry.fromlevel = atoi(row[3]);
|
||||
entry.tolevel = atoi(row[4]);
|
||||
entry.classes = atoi(row[5]);
|
||||
|
||||
Reference in New Issue
Block a user