From 4426a2fc448f332e42a7e6ff778e5047bb588c98 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 17 Jan 2008 15:54:33 +0000 Subject: Fix.. snomask O is already taken (ffs) so use A instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/snomasks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/snomasks.cpp') diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 9dec803aa..43a7b802b 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -95,7 +95,7 @@ void SnomaskManager::SetupDefaults() this->EnableSnomask('K',"REMOTEKILL"); /* Remote kill notices */ this->EnableSnomask('l',"LINK"); /* Link notices */ this->EnableSnomask('o',"OPER"); /* Oper up/down notices */ - this->EnableSnomask('O',"ALLOPERS"); /* formerly WriteOpers() - generic notices to all opers */ + this->EnableSnomask('A',"ANNOUNCENENT"); /* formerly WriteOpers() - generic notices to all opers */ 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 */ @@ -128,7 +128,7 @@ void Snomask::Flush() for (std::list::iterator i = ServerInstance->all_opers.begin(); i != ServerInstance->all_opers.end(); i++) { User* a = *i; - if (IS_LOCAL(a) && a->IsModeSet('s') && a->IsModeSet('n') && a->IsNoticeMaskSet(MySnomask)) + if (IS_LOCAL(a) && a->IsModeSet('s') && a->IsModeSet('n') && a->IsNoticeMaskSet(MySnomask) && !a->quitting) { a->WriteServ("NOTICE %s :*** %s: %s", a->nick, this->Description.c_str(), this->LastMessage.c_str()); if (Count > 1) -- cgit v1.2.3