diff options
Diffstat (limited to 'noannounce.c')
-rw-r--r-- | noannounce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noannounce.c b/noannounce.c index 9d87bdd..a22bf1d 100644 --- a/noannounce.c +++ b/noannounce.c @@ -120,7 +120,7 @@ bool cNoAnnounce::Parse(const char *s) const char *cNoAnnounce::ToText(void) const { free(buffer); - asprintf(&buffer, "%s:%s:%s:%ld:%ld", + msprintf(&buffer, "%s:%s:%s:%ld:%ld", ReplaceAll(title, ":", "|").c_str(), ReplaceAll(shortText, ":", "|").c_str(), *channelID.ToString(), |