summaryrefslogtreecommitdiff
path: root/modules/core/os_restart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_restart.cpp')
-rw-r--r--modules/core/os_restart.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/os_restart.cpp b/modules/core/os_restart.cpp
index 62cfb0a37..77fba8a50 100644
--- a/modules/core/os_restart.cpp
+++ b/modules/core/os_restart.cpp
@@ -20,8 +20,9 @@ class CommandOSRestart : public Command
{
}
- CommandReturn Execute(User *u, const std::vector<Anope::string> &params)
+ CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
{
+ User *u = source.u;
quitmsg = "RESTART command received from " + u->nick;
if (Config->GlobalOnCycle)