diff options
Diffstat (limited to 'modules/core/os_restart.cpp')
-rw-r--r-- | modules/core/os_restart.cpp | 3 |
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> ¶ms) + CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) { + User *u = source.u; quitmsg = "RESTART command received from " + u->nick; if (Config->GlobalOnCycle) |