X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsnomasks.cpp;h=c166bd72d3a52869baa755eb534ae3e90b8e095c;hb=d6501677e1a66e4b438815e67b705eb26b68a4bc;hp=6c368654073f399c933eaf8ec3ae3d79428f2b54;hpb=c977373d5f28f6d6a2a6214feba3eafdfabd3da6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 6c3686540..c166bd72d 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team + * InspIRCd: (C) 2002-2009 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see @@ -24,7 +24,7 @@ SnomaskManager::SnomaskManager(InspIRCd* Instance) : ServerInstance(Instance) } SnomaskManager::~SnomaskManager() -{ +{ for (std::map::iterator i = SnoMasks.begin(); i != SnoMasks.end(); i++) { delete i->second; @@ -101,7 +101,7 @@ void SnomaskManager::SetupDefaults() 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('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) */