diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-11 17:10:24 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-11 17:13:01 +0000 |
commit | df1c6176b38eea8d8889604699012ac8b172e341 (patch) | |
tree | 73a467a7df0882541cd4f9cb5e249972647283f5 /modules/memoserv/memoserv.cpp | |
parent | 8634594cd1a11d6786e7da44679483718f47cc09 (diff) | |
parent | 96ccfe4cbe9948206ac2d6854778f9a268d2476f (diff) |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/memoserv/memoserv.cpp')
-rw-r--r-- | modules/memoserv/memoserv.cpp | 2 |
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()); } } |