forked from github/server
Nachrichten haben keine Attribute: http://bugs.eressea.de/view.php?id=1912
This commit is contained in:
parent
bdb887c9fb
commit
6c51013e14
|
@ -522,8 +522,10 @@ static void render_messages(FILE * F, faction * f, message_list * msgs)
|
|||
#endif
|
||||
crbuffer[0] = '\0';
|
||||
if (cr_render(m->msg, crbuffer, (const void *)f) == 0) {
|
||||
if (crbuffer[0] && !printed) {
|
||||
fprintf(F, "MESSAGE %u\n", messagehash(m->msg));
|
||||
if (crbuffer[0]) {
|
||||
if (!printed) {
|
||||
fprintf(F, "MESSAGE %u\n", messagehash(m->msg));
|
||||
}
|
||||
fputs(crbuffer, F);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue