diff options
author | Adam <Adam@anope.org> | 2016-10-09 22:03:55 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-09 22:03:55 -0400 |
commit | cfbbcf32164c6011c80d2a3eed78f1db48c9903b (patch) | |
tree | 1104d09ee7530e61be3220b81bcd38a7d1585f74 /modules/memoserv/set.cpp | |
parent | ab2e1947123a261a8793d6190999efdce1144c9d (diff) |
Adjust reading memoserv core config opts
Diffstat (limited to 'modules/memoserv/set.cpp')
-rw-r--r-- | modules/memoserv/set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/memoserv/set.cpp b/modules/memoserv/set.cpp index 72194d518..acb575084 100644 --- a/modules/memoserv/set.cpp +++ b/modules/memoserv/set.cpp @@ -167,7 +167,7 @@ class CommandMSSet : public Command source.Reply(_("You are not permitted to change your memo limit.")); return; } - int max_memos = Config->GetModule("memoserv")->Get<int>("maxmemos"); + int max_memos = Config->GetModule("memoserv/main")->Get<int>("maxmemos"); limit = -1; try { @@ -272,7 +272,7 @@ class CommandMSSet : public Command "\002ON\002 is essentially \002LOGON\002 and \002NEW\002 combined.")); else if (subcommand.equals_ci("LIMIT")) { - int max_memos = Config->GetModule("memoserv")->Get<int>("maxmemos"); + int max_memos = Config->GetModule("memoserv/main")->Get<int>("maxmemos"); if (source.IsServicesOper()) source.Reply(_("Syntax: \002LIMIT [\037user\037 | \037channel\037] {\037limit\037 | NONE} [HARD]\002\n" "\n" |