diff options
author | Adam <Adam@anope.org> | 2014-02-05 07:34:22 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-02-05 08:46:51 -0500 |
commit | bb0e2a9a07e0931532d5f77486e2b11de2fa2997 (patch) | |
tree | a1580942a39b213be3b3166c5a1e0886d282fea9 /modules/fantasy.cpp | |
parent | 4f8c4f8fefd55f36d4c626e00bf09555928ecaa4 (diff) |
Make it easier to use fantasy without botserv, and document it
Diffstat (limited to 'modules/fantasy.cpp')
-rw-r--r-- | modules/fantasy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fantasy.cpp b/modules/fantasy.cpp index 0c4626083..6a212a633 100644 --- a/modules/fantasy.cpp +++ b/modules/fantasy.cpp @@ -97,7 +97,7 @@ class Fantasy : public Module if (!u || !c || !c->ci || !c->ci->bi || msg.empty() || msg[0] == '\1') return; - if (!fantasy.HasExt(c->ci)) + if (Config->GetClient("BotServ") && !fantasy.HasExt(c->ci)) return; std::vector<Anope::string> params; |