diff options
Diffstat (limited to 'src/memoserv.c')
-rw-r--r-- | src/memoserv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memoserv.c b/src/memoserv.c index 0bb7f6a8e..3859862c1 100644 --- a/src/memoserv.c +++ b/src/memoserv.c @@ -275,6 +275,7 @@ void memo_send_from(User * u, char *name, char *text, int z, char *source) mi->memocount++; mi->memos = srealloc(mi->memos, sizeof(Memo) * mi->memocount); m = &mi->memos[mi->memocount - 1]; + memset(m->sender, '\0', sizeof(m->sender)); strscpy(m->sender, source, NICKMAX); m->moduleData = NULL; if (mi->memocount > 1) { |