summaryrefslogtreecommitdiff
path: root/src/commands/cmd_restart.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 15:54:33 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-17 15:54:33 +0000
commit4426a2fc448f332e42a7e6ff778e5047bb588c98 (patch)
tree0a8dcaaa5b9243d77062bccada51e0d4b8d73475 /src/commands/cmd_restart.cpp
parent94afde43b086f092bf8128d76d418cb63840e8eb (diff)
Fix.. snomask O is already taken (ffs) so use A instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_restart.cpp')
-rw-r--r--src/commands/cmd_restart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_restart.cpp b/src/commands/cmd_restart.cpp
index 701d7db61..7d9921d4c 100644
--- a/src/commands/cmd_restart.cpp
+++ b/src/commands/cmd_restart.cpp
@@ -24,7 +24,7 @@ CmdResult CommandRestart::Handle (const char** parameters, int, User *user)
ServerInstance->Log(DEFAULT,"Restart: %s",user->nick);
if (!strcmp(parameters[0],ServerInstance->Config->restartpass))
{
- ServerInstance->SNO->WriteToSnoMask('O', "RESTART command from %s!%s@%s, restarting server.",user->nick,user->ident,user->host);
+ ServerInstance->SNO->WriteToSnoMask('A', "RESTART command from %s!%s@%s, restarting server.",user->nick,user->ident,user->host);
try
{
@@ -38,7 +38,7 @@ CmdResult CommandRestart::Handle (const char** parameters, int, User *user)
}
else
{
- ServerInstance->SNO->WriteToSnoMask('O', "Failed RESTART Command from %s!%s@%s.",user->nick,user->ident,user->host);
+ ServerInstance->SNO->WriteToSnoMask('A', "Failed RESTART Command from %s!%s@%s.",user->nick,user->ident,user->host);
return CMD_FAILURE;
}