diff options
author | Adam <Adam@anope.org> | 2014-03-01 21:11:58 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-03-01 21:11:58 -0500 |
commit | dc23c5886961bc2c87daeded4ecdc329325c10a1 (patch) | |
tree | fd42882d4bd966ad00a78b8d2cba9ca501820817 /modules/pseudoclients/botserv.cpp | |
parent | b7e646ec830e5b1488b5848e80a52c184e10c1b6 (diff) |
Fix botserv help to show the correct fantasy characters
Diffstat (limited to 'modules/pseudoclients/botserv.cpp')
-rw-r--r-- | modules/pseudoclients/botserv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pseudoclients/botserv.cpp b/modules/pseudoclients/botserv.cpp index ddcbd76e6..144433631 100644 --- a/modules/pseudoclients/botserv.cpp +++ b/modules/pseudoclients/botserv.cpp @@ -136,7 +136,7 @@ class BotServCore : public Module "channel, and provide a more convenient way to execute commands. Commands that\n" "require a channel as a parameter will automatically have that parameter\n" "given.\n"), source.service->nick.c_str()); - const Anope::string &fantasycharacters = Config->GetModule(this)->Get<const Anope::string>("fantasycharacter", "!"); + const Anope::string &fantasycharacters = Config->GetModule("fantasy")->Get<const Anope::string>("fantasycharacter", "!"); if (!fantasycharacters.empty()) source.Reply(_(" \n" "Fantasy commands may be prefixed with one of the following characters: %s\n"), fantasycharacters.c_str()); @@ -167,7 +167,7 @@ class BotServCore : public Module source.Reply(_(" \n" "Bot will join a channel whenever there is at least\n" "\002%d\002 user(s) on it."), Config->GetModule(this)->Get<unsigned>("minusers")); - const Anope::string &fantasycharacters = Config->GetModule(this)->Get<const Anope::string>("fantasycharacter", "!"); + const Anope::string &fantasycharacters = Config->GetModule("fantasy")->Get<const Anope::string>("fantasycharacter", "!"); if (!fantasycharacters.empty()) source.Reply(_("Additionally, if fantasy is enabled fantasy commands\n" "can be executed by prefixing the command name with\n" |