forked from github/server
null-banners
This commit is contained in:
parent
a33d59b21a
commit
9715493071
1 changed files with 4 additions and 1 deletions
|
@ -223,7 +223,10 @@ faction_set_banner(faction& f, const char * banner)
|
||||||
const char *
|
const char *
|
||||||
faction_get_banner(const faction& f)
|
faction_get_banner(const faction& f)
|
||||||
{
|
{
|
||||||
return (const char*)f.banner;
|
if (f.banner) {
|
||||||
|
return (const char*)f.banner;
|
||||||
|
}
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue