1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 22:33:13 +02:00

Allow userless command sources

This commit is contained in:
Adam
2012-06-18 05:04:30 -04:00
parent 873d4287de
commit 2dec8e767a
153 changed files with 1029 additions and 1060 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class CommandMSSend : public Command
const Anope::string &nick = params[0];
const Anope::string &text = params[1];
MemoServService::MemoResult result = memoserv->Send(source.u->nick, nick, text);
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());
else if (result == MemoServService::MEMO_INVALID_TARGET)