summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-08 21:53:28 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-08 21:53:28 +0000
commit890e00d5956ff31fd95a6bb667f7918e2e97af3a (patch)
tree61539cc015c298273ae7d47da380348fb64cc366 /src/snomasks.cpp
parent7cca9f5d934e47bf57d8b48aee6d79c81d2c3c2c (diff)
Enable SNOMASK 'K' (remote kill), and use it in cmd_kill. This has the side effect of hiding kills from a server prefix at the moment as they work differently (ugh).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7260 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp19
1 files changed, 10 insertions, 9 deletions
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 */
}