summaryrefslogtreecommitdiff
path: root/src/commands/cmd_restart.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-05-21 17:11:46 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-05-21 17:11:46 -0700
commitb36ce84c7da93f680fc397bcb4c877abe063eaaa (patch)
tree4e5a593816383612d0e49bf6e4affa4f3d354dc8 /src/commands/cmd_restart.cpp
parent4710844dcae83f54acd89d84a9c8dad607dfa17d (diff)
parent3e105c6311c23787ff54388c8d21c8ac1a01fd57 (diff)
Merge pull request #545 from SaberUK/master+logging-cleanup
Clean up the logging system (part 1 of 2).
Diffstat (limited to 'src/commands/cmd_restart.cpp')
-rw-r--r--src/commands/cmd_restart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_restart.cpp b/src/commands/cmd_restart.cpp
index 174e66063..6711ada7d 100644
--- a/src/commands/cmd_restart.cpp
+++ b/src/commands/cmd_restart.cpp
@@ -39,7 +39,7 @@ class CommandRestart : public Command
CmdResult CommandRestart::Handle (const std::vector<std::string>& parameters, User *user)
{
- ServerInstance->Logs->Log("COMMAND",LOG_DEFAULT,"Restart: %s",user->nick.c_str());
+ ServerInstance->Logs->Log("COMMAND", LOG_DEFAULT, "Restart: %s",user->nick.c_str());
if (!ServerInstance->PassCompare(user, ServerInstance->Config->restartpass, parameters[0].c_str(), ServerInstance->Config->powerhash))
{
ServerInstance->SNO->WriteGlobalSno('a', "RESTART command from %s, restarting server.", user->GetFullRealHost().c_str());