diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-31 23:19:36 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-31 23:19:36 +0000 |
commit | c977373d5f28f6d6a2a6214feba3eafdfabd3da6 (patch) | |
tree | d69dd4a179796ee5deb6acaf913282506a636995 | |
parent | 6d5e8d00fb850950e056e6f5195e779090a4b359 (diff) |
Add REMOTEOPER snomask.. use it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10770 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree/opertype.cpp | 2 | ||||
-rw-r--r-- | src/snomasks.cpp | 5 |
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) */ |