X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsnomasks.cpp;h=028004f86dbe286248623b3d0a066b448f601b56;hb=72948525ec3ef03fe46553349c1892cafa5ac18c;hp=3655abeb87d1c649b0eaf1117f5aaae53681001c;hpb=d54fd9b1e6b31f69332a9241b5f17330c0ad61e0;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 3655abeb8..028004f86 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -2,18 +2,16 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * + * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits * - * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- */ +#include "inspircd.h" #include #include "configreader.h" #include "users.h" @@ -71,7 +69,7 @@ void SnomaskManager::WriteToSnoMask(char letter, const std::string &text) void SnomaskManager::WriteToSnoMask(char letter, const char* text, ...) { - char textbuffer[MAXBUF]; + char textbuffer[MAXBUF]; va_list argsPtr; va_start(argsPtr, text); @@ -98,5 +96,6 @@ void SnomaskManager::SetupDefaults() 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 */ + this->EnableSnomask('f',"FLOOD"); /* Flooding notices */ }