summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-04 19:11:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-04 19:11:46 +0000
commitf97f171c491a27de2c70f332ed747417d9d4e1c0 (patch)
tree10db5da5f4a9f5e5a6edc89995c1d8c233872186
parent6c79fc1a65bd0ca65197495146a513a6d9d5f93c (diff)
Fix remote quit notices (some were in the wrong snomask)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5646 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_quit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp
index 26502c385..161bd8451 100644
--- a/src/cmd_quit.cpp
+++ b/src/cmd_quit.cpp
@@ -56,7 +56,7 @@ CmdResult cmd_quit::Handle (const char** parameters, int pcnt, userrec *user)
}
else
{
- ServerInstance->SNO->WriteToSnoMask('q',"Client exiting at %s: %s!%s@%s [%s]",user->server,user->nick,user->ident,user->host,parameters[0]);
+ ServerInstance->SNO->WriteToSnoMask('Q',"Client exiting on server %s: %s!%s@%s [%s]",user->server,user->nick,user->ident,user->host,parameters[0]);
user->WriteCommonExcept("QUIT :%s",parameters[0]);
}
FOREACH_MOD(I_OnUserQuit,OnUserQuit(user,std::string(ServerInstance->Config->PrefixQuit)+std::string(parameters[0])));
@@ -71,7 +71,7 @@ CmdResult cmd_quit::Handle (const char** parameters, int pcnt, userrec *user)
}
else
{
- ServerInstance->SNO->WriteToSnoMask('q',"Client exiting at %s: %s!%s@%s [Client exited]",user->server,user->nick,user->ident,user->host);
+ ServerInstance->SNO->WriteToSnoMask('Q',"Client exiting on server %s: %s!%s@%s [Client exited]",user->server,user->nick,user->ident,user->host);
}
user->WriteCommonExcept("QUIT :Client exited");
FOREACH_MOD(I_OnUserQuit,OnUserQuit(user,"Client exited"));