summaryrefslogtreecommitdiff
path: root/src/memoserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memoserv.c')
-rw-r--r--src/memoserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memoserv.c b/src/memoserv.c
index 5b031d373..e9e86f66c 100644
--- a/src/memoserv.c
+++ b/src/memoserv.c
@@ -1393,7 +1393,7 @@ static int do_memocheck(User * u)
have to loop backwards */
for (i = (mi->memocount - 1); i >= 0; i--) {
- if (!stricmp(mi->memos[i].sender, u->nick)) {
+ if (!stricmp(mi->memos[i].sender, u->na->nc->display)) {
found = 1; /* Yes, we've found the memo */
tm = localtime(&mi->memos[i].time);