summaryrefslogtreecommitdiff
path: root/modules/memoserv/memoserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/memoserv/memoserv.cpp')
-rw-r--r--modules/memoserv/memoserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/memoserv/memoserv.cpp b/modules/memoserv/memoserv.cpp
index 219d4b33e..c6d927460 100644
--- a/modules/memoserv/memoserv.cpp
+++ b/modules/memoserv/memoserv.cpp
@@ -100,7 +100,7 @@ public:
{
if (ci->AccessFor(cu->user).HasPriv("MEMO"))
{
- if (cu->user->Account() && cu->user->Account()->HasExt("MEMO_RECEIVE"))
+ if (cu->user->IsIdentified() && cu->user->Account()->HasExt("MEMO_RECEIVE"))
cu->user->SendMessage(MemoServ, MEMO_NEW_X_MEMO_ARRIVED, ci->name.c_str(), MemoServ->GetQueryCommand().c_str(), ci->name.c_str(), mi->memos->size());
}
}