mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 06:01:38 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -140,7 +140,7 @@ public:
|
||||
entry.emoteid = atoi(row[1]);
|
||||
entry.event_ = atoi(row[2]);
|
||||
entry.type = atoi(row[3]);
|
||||
entry.text = row[4];
|
||||
entry.text = row[4] ? row[4] : "";
|
||||
|
||||
return entry;
|
||||
}
|
||||
@@ -269,7 +269,7 @@ public:
|
||||
entry.emoteid = atoi(row[1]);
|
||||
entry.event_ = atoi(row[2]);
|
||||
entry.type = atoi(row[3]);
|
||||
entry.text = row[4];
|
||||
entry.text = row[4] ? row[4] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
@@ -298,7 +298,7 @@ public:
|
||||
entry.emoteid = atoi(row[1]);
|
||||
entry.event_ = atoi(row[2]);
|
||||
entry.type = atoi(row[3]);
|
||||
entry.text = row[4];
|
||||
entry.text = row[4] ? row[4] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user