summaryrefslogtreecommitdiff
path: root/modules/memoserv/set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-01-27 08:40:26 -0500
committerAdam <Adam@anope.org>2017-01-27 08:40:26 -0500
commit9ad06f49bbb3824139b0c0ee0a74898a18c8f735 (patch)
tree618a4f0e173166e6f966a7cce78f06c3c1c3299f /modules/memoserv/set.cpp
parent16ca76c2e7ab287e480185fbb03a0bb438351eda (diff)
Store CommandInfo in CommandSource instead of just command/permission
Diffstat (limited to 'modules/memoserv/set.cpp')
-rw-r--r--modules/memoserv/set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/memoserv/set.cpp b/modules/memoserv/set.cpp
index 12f5e5b8d..6ae0e1ba0 100644
--- a/modules/memoserv/set.cpp
+++ b/modules/memoserv/set.cpp
@@ -253,7 +253,7 @@ class CommandMSSet : public Command
" receive\n"
"\n"
"Type \002{0}{1} {2} {3} \037option\037\002 for more information on a specific option."),
- Config->StrictPrivmsg, source.service->nick, help->cname, source.command);
+ Config->StrictPrivmsg, source.service->nick, help->cname, source.GetCommand());
}
else if (subcommand.equals_ci("NOTIFY"))
{
@@ -295,7 +295,7 @@ class CommandMSSet : public Command
" \n"
"This use of the \002{0} LIMIT\002 command is limited to \002Services Operators\002."
" Other users may only enter a limit for themselves or a channel on which they have the \002MEMO\002 privilege on, may not remove their limit, may not set a limit above {1}, and may not set a hard limit."),
- source.command, max_memos);
+ source.GetCommand(), max_memos);
else
source.Reply(_("Syntax: \002LIMIT [\037channel\037] \037limit\037\002\n"
"\n"