diff options
Diffstat (limited to 'modules/commands/ms_send.cpp')
-rw-r--r-- | modules/commands/ms_send.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/commands/ms_send.cpp b/modules/commands/ms_send.cpp index eb3c98eca..f8f857607 100644 --- a/modules/commands/ms_send.cpp +++ b/modules/commands/ms_send.cpp @@ -39,6 +39,12 @@ class CommandMSSend : public Command return; } + if (source.GetAccount()->HasExt("UNCONFIRMED")) + { + source.Reply(_("You must confirm your account before you may send a memo.")); + return; + } + MemoServService::MemoResult result = memoserv->Send(source.GetNick(), nick, text); if (result == MemoServService::MEMO_SUCCESS) source.Reply(_("Memo sent to \002%s\002."), nick.c_str()); |