summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd_kill.cpp2
-rw-r--r--src/snomasks.cpp19
2 files changed, 11 insertions, 10 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp
index bd437c03a..373ec7c9d 100644
--- a/src/cmd_kill.cpp
+++ b/src/cmd_kill.cpp
@@ -87,7 +87,7 @@ CmdResult cmd_kill::Handle (const char** parameters, int pcnt, userrec *user)
if (!IS_LOCAL(u))
{
// remote kill
- ServerInstance->SNO->WriteToSnoMask('k',"Remote kill by %s: %s!%s@%s (%s)", user->nick, u->nick, u->ident, u->host, parameters[1]);
+ ServerInstance->SNO->WriteToSnoMask('K', "Remote kill by %s: %s!%s@%s (%s)", user->nick, u->nick, u->ident, u->host, parameters[1]);
FOREACH_MOD(I_OnRemoteKill, OnRemoteKill(user, u, killreason));
}
else
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index 028004f86..ba6d3d7d5 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -86,16 +86,17 @@ bool SnomaskManager::IsEnabled(char letter)
void SnomaskManager::SetupDefaults()
{
- this->EnableSnomask('c',"CONNECT"); /* Local connect notices */
+ this->EnableSnomask('c',"CONNECT"); /* Local connect notices */
this->EnableSnomask('C',"REMOTECONNECT"); /* Remote connect notices */
- this->EnableSnomask('q',"QUIT"); /* Local quit notices */
+ this->EnableSnomask('q',"QUIT"); /* Local quit notices */
this->EnableSnomask('Q',"REMOTEQUIT"); /* Remote quit notices */
- this->EnableSnomask('k',"KILL"); /* Kill notices */
- this->EnableSnomask('l',"LINK"); /* Link notices */
- this->EnableSnomask('o',"OPER"); /* Oper up/down notices */
- this->EnableSnomask('d',"DEBUG"); /* Debug notices */
- this->EnableSnomask('x',"XLINE"); /* Xline notice (g/z/q/k/e) */
- this->EnableSnomask('t',"STATS"); /* Local or remote stats request */
- this->EnableSnomask('f',"FLOOD"); /* Flooding notices */
+ this->EnableSnomask('k',"KILL"); /* Kill notices */
+ this->EnableSnomask('K',"REMOTEKILL"); /* Remote kill notices */
+ this->EnableSnomask('l',"LINK"); /* Link notices */
+ this->EnableSnomask('o',"OPER"); /* Oper up/down notices */
+ this->EnableSnomask('d',"DEBUG"); /* Debug notices */
+ this->EnableSnomask('x',"XLINE"); /* Xline notice (g/z/q/k/e) */
+ this->EnableSnomask('t',"STATS"); /* Local or remote stats request */
+ this->EnableSnomask('f',"FLOOD"); /* Flooding notices */
}