diff --git a/src/eressea/lua/faction.cpp b/src/eressea/lua/faction.cpp index fe4d40e7f..ff07afade 100644 --- a/src/eressea/lua/faction.cpp +++ b/src/eressea/lua/faction.cpp @@ -223,7 +223,10 @@ faction_set_banner(faction& f, const char * banner) const char * faction_get_banner(const faction& f) { - return (const char*)f.banner; + if (f.banner) { + return (const char*)f.banner; + } + return ""; } void