summaryrefslogtreecommitdiff
path: root/modules/memoserv/memoserv.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-11-11 17:10:24 +0000
committerSadie Powell <sadie@witchery.services>2024-11-11 17:13:01 +0000
commitdf1c6176b38eea8d8889604699012ac8b172e341 (patch)
tree73a467a7df0882541cd4f9cb5e249972647283f5 /modules/memoserv/memoserv.cpp
parent8634594cd1a11d6786e7da44679483718f47cc09 (diff)
parent96ccfe4cbe9948206ac2d6854778f9a268d2476f (diff)
Merge branch '2.0' into 2.1.
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());
}
}