summaryrefslogtreecommitdiff
path: root/modules/core/ms_rsend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ms_rsend.cpp')
-rw-r--r--modules/core/ms_rsend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ms_rsend.cpp b/modules/core/ms_rsend.cpp
index 98d7aaba4..7e6af4950 100644
--- a/modules/core/ms_rsend.cpp
+++ b/modules/core/ms_rsend.cpp
@@ -39,7 +39,7 @@ class CommandMSRSend : public Command
if (Config->MSMemoReceipt == 1)
{
/* Services opers and above can use rsend */
- if (u->Account()->IsServicesOper())
+ if (u->IsServicesOper())
memo_send(source, nick, text, 3);
else
source.Reply(_(ACCESS_DENIED));