null-banners

This commit is contained in:
Enno Rehling 2007-08-21 21:19:51 +00:00
parent a33d59b21a
commit 9715493071

View file

@ -223,8 +223,11 @@ faction_set_banner(faction& f, const char * banner)
const char * const char *
faction_get_banner(const faction& f) faction_get_banner(const faction& f)
{ {
if (f.banner) {
return (const char*)f.banner; return (const char*)f.banner;
} }
return "";
}
void void
faction_set_email(faction& f, const char * email) faction_set_email(faction& f, const char * email)