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
|
#endif
|
||||||
crbuffer[0] = '\0';
|
crbuffer[0] = '\0';
|
||||||
if (cr_render(m->msg, crbuffer, (const void *)f) == 0) {
|
if (cr_render(m->msg, crbuffer, (const void *)f) == 0) {
|
||||||
if (crbuffer[0] && !printed) {
|
if (crbuffer[0]) {
|
||||||
fprintf(F, "MESSAGE %u\n", messagehash(m->msg));
|
if (!printed) {
|
||||||
|
fprintf(F, "MESSAGE %u\n", messagehash(m->msg));
|
||||||
|
}
|
||||||
fputs(crbuffer, F);
|
fputs(crbuffer, F);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue