mirror of
https://github.com/anope/anope.git
synced 2026-07-08 13:03:13 +02:00
Fix fantasy !help & give it its own help header, not ChanServ's
This commit is contained in:
@@ -67,7 +67,7 @@ class HostServCore : public Module
|
||||
|
||||
EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
if (!params.empty() || source.owner->nick != Config->HostServ)
|
||||
if (!params.empty() || source.c || source.service->nick != Config->HostServ)
|
||||
return EVENT_CONTINUE;
|
||||
source.Reply(_("%s commands:"), Config->HostServ.c_str());
|
||||
return EVENT_CONTINUE;
|
||||
|
||||
Reference in New Issue
Block a user