summaryrefslogtreecommitdiff
path: root/modules/core/hs_off.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/hs_off.cpp')
-rw-r--r--modules/core/hs_off.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/hs_off.cpp b/modules/core/hs_off.cpp
index 8c69a8821..8040194ee 100644
--- a/modules/core/hs_off.cpp
+++ b/modules/core/hs_off.cpp
@@ -37,15 +37,15 @@ class CommandHSOff : public Command
return MOD_CONT;
}
- bool OnHelp(User *u, const Anope::string &subcommand)
+ bool OnHelp(CommandSource &source, const Anope::string &subcommand)
{
- u->SendMessage(HostServ, HOST_HELP_OFF);
+ source.Reply(HOST_HELP_OFF);
return true;
}
- void OnServHelp(User *u)
+ void OnServHelp(CommandSource &source)
{
- u->SendMessage(HostServ, HOST_HELP_CMD_OFF);
+ source.Reply(HOST_HELP_CMD_OFF);
}
};