1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
7 * <brain@chatspike.net>
8 * <Craig@chatspike.net>
10 * Written by Craig Edwards, Craig McLure, and others.
11 * This program is free but copyrighted software; see
12 * the file COPYING for details.
14 * --------------------------------------------------
17 #ifndef __SNOMASKS_H__
18 #define __SNOMASKS_H__
23 #include "configreader.h"
26 typedef std::map<char, std::string> SnoList;
28 class SnomaskManager : public Extensible
31 InspIRCd* ServerInstance;
35 SnomaskManager(InspIRCd* Instance);
38 bool EnableSnomask(char letter, const std::string &description);
39 bool DisableSnomask(char letter);
40 void WriteToSnoMask(char letter, const std::string &text);
41 void WriteToSnoMask(char letter, const char* text, ...);
42 bool IsEnabled(char letter);