aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands/cmd_restart.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2013-05-21 17:11:46 -0700
committerGravatar Attila Molnar2013-05-21 17:11:46 -0700
commitb36ce84c7da93f680fc397bcb4c877abe063eaaa (patch)
tree4e5a593816383612d0e49bf6e4affa4f3d354dc8 /src/commands/cmd_restart.cpp
parentMerge pull request #522 from SaberUK/master+xline-displayable (diff)
parentFix spacing in calls to LogManager::Log. (diff)
downloadinspircd++-b36ce84c7da93f680fc397bcb4c877abe063eaaa.tar.gz
inspircd++-b36ce84c7da93f680fc397bcb4c877abe063eaaa.tar.bz2
inspircd++-b36ce84c7da93f680fc397bcb4c877abe063eaaa.zip
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());