| 1 |
Index: crossfire-1.75.0/server/c_chat.c |
| 2 |
=================================================================== |
| 3 |
--- crossfire-1.75.0.orig/server/c_chat.c 2021-01-23 16:29:20.909848529 +0200 |
| 4 |
+++ crossfire-1.75.0/server/c_chat.c 2021-01-23 16:35:06.418120238 +0200 |
| 5 |
@@ -651,7 +651,7 @@ |
| 6 |
const char *self_reply; |
| 7 |
if (emotion > EMOTE_FIRST && emotion < EMOTE_LAST && single_emotes[emotion - 1][0] != NULL) { |
| 8 |
self_reply = single_emotes[emotion - 1][0]; |
| 9 |
- snprintf(buf2, sizeof(buf2), single_emotes[emotion - 1][1], op->name); |
| 10 |
+ snprintf(buf2, sizeof(buf2), "%s", single_emotes[emotion - 1][1], op->name); |
| 11 |
} else { |
| 12 |
self_reply = "You are a nut."; |
| 13 |
snprintf(buf2, sizeof(buf2), "%s dances with glee.", op->name); |