X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsnomasks.cpp;h=dea7cc446aff57d61534a2275ee0609f14830291;hb=5b80dc83fdb6b7952e452a8eb2355005fdb5366c;hp=df524b51f10f6b51b8614932172770220cf50710;hpb=2be86e1958ca8de8aaad54f75a8d6afec59d49af;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/snomasks.cpp b/src/snomasks.cpp index df524b51f..dea7cc446 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -11,6 +11,8 @@ * --------------------------------------------------- */ +/* $Core: libIRCDsnomasks */ + #include "inspircd.h" #include #include "snomasks.h" @@ -53,9 +55,9 @@ void SnomaskManager::WriteToSnoMask(char letter, const std::string &text) if (n != SnoMasks.end()) { /* Only opers can receive snotices, so we iterate the oper list */ - for (std::list::iterator i = ServerInstance->all_opers.begin(); i != ServerInstance->all_opers.end(); i++) + for (std::list::iterator i = ServerInstance->all_opers.begin(); i != ServerInstance->all_opers.end(); i++) { - userrec* a = *i; + User* a = *i; if (IS_LOCAL(a) && a->IsModeSet('s') && a->IsModeSet('n') && a->IsNoticeMaskSet(n->first)) { /* send server notices to all with +ns */