mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -136,7 +136,7 @@ public:
|
||||
entry.raidid = atoi(row[0]);
|
||||
entry.loottype = atoi(row[1]);
|
||||
entry.locked = atoi(row[2]);
|
||||
entry.motd = row[3];
|
||||
entry.motd = row[3] ? row[3] : "";
|
||||
|
||||
return entry;
|
||||
}
|
||||
@@ -261,7 +261,7 @@ public:
|
||||
entry.raidid = atoi(row[0]);
|
||||
entry.loottype = atoi(row[1]);
|
||||
entry.locked = atoi(row[2]);
|
||||
entry.motd = row[3];
|
||||
entry.motd = row[3] ? row[3] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
@@ -289,7 +289,7 @@ public:
|
||||
entry.raidid = atoi(row[0]);
|
||||
entry.loottype = atoi(row[1]);
|
||||
entry.locked = atoi(row[2]);
|
||||
entry.motd = row[3];
|
||||
entry.motd = row[3] ? row[3] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user