summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-31 23:19:36 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-31 23:19:36 +0000
commitc977373d5f28f6d6a2a6214feba3eafdfabd3da6 (patch)
treed69dd4a179796ee5deb6acaf913282506a636995 /src
parent6d5e8d00fb850950e056e6f5195e779090a4b359 (diff)
Add REMOTEOPER snomask.. use it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10770 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/opertype.cpp2
-rw-r--r--src/snomasks.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/opertype.cpp b/src/modules/m_spanningtree/opertype.cpp
index 77afbc057..9f90e3403 100644
--- a/src/modules/m_spanningtree/opertype.cpp
+++ b/src/modules/m_spanningtree/opertype.cpp
@@ -57,7 +57,7 @@ bool TreeSocket::OperType(const std::string &prefix, std::deque<std::string> &pa
}
if (dosend)
- this->ServerInstance->SNO->WriteToSnoMask('o',"From %s: User %s (%s@%s) is now an IRC operator of type %s",u->server, u->nick.c_str(),u->ident.c_str(), u->host.c_str(), irc::Spacify(opertype.c_str()));
+ this->ServerInstance->SNO->WriteToSnoMask('O',"From %s: User %s (%s@%s) is now an IRC operator of type %s",u->server, u->nick.c_str(),u->ident.c_str(), u->host.c_str(), irc::Spacify(opertype.c_str()));
}
return true;
}
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index 85e1ead78..6c3686540 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -98,9 +98,10 @@ void SnomaskManager::SetupDefaults()
this->EnableSnomask('Q',"REMOTEQUIT"); /* Remote quit notices */
this->EnableSnomask('k',"KILL"); /* Kill notices */
this->EnableSnomask('K',"REMOTEKILL"); /* Remote kill notices */
- this->EnableSnomask('l',"LINK"); /* Link notices */
- this->EnableSnomask('L',"REMOTELINK"); /* Link notices */
+ this->EnableSnomask('l',"LINK"); /* Linking notices */
+ this->EnableSnomask('L',"REMOTELINK"); /* Remote linking notices */
this->EnableSnomask('o',"OPER"); /* Oper up/down notices */
+ this->EnableSnomask('o',"REMOTEOPER"); /* Remote oper up/down notices */
this->EnableSnomask('A',"ANNOUNCEMENT"); /* formerly WriteOpers() - generic notices to all opers */
this->EnableSnomask('d',"DEBUG"); /* Debug notices */
this->EnableSnomask('x',"XLINE"); /* Xline notice (g/z/q/k/e) */