From c977373d5f28f6d6a2a6214feba3eafdfabd3da6 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 31 Oct 2008 23:19:36 +0000 Subject: [PATCH] Add REMOTEOPER snomask.. use it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10770 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/opertype.cpp | 2 +- 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 &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) */ -- 2.39.2