diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-29 18:26:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-29 18:26:55 +0000 |
commit | b9e99da4dafd836e995970216835cefe3716a01a (patch) | |
tree | 3e1a53384d20e350adf6a23ac964b9429e735e6b /include/snomasks.h | |
parent | e7aac9ee56d7bfff83287e3068ac18f60d43a1f9 (diff) |
Snomask support cometh! and it leave a sticky white mess all over the floor :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5062 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/snomasks.h')
-rw-r--r-- | include/snomasks.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/snomasks.h b/include/snomasks.h index ab8980c26..a6ee0d050 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -19,18 +19,26 @@ #include <string> #include <vector> +#include <map> #include "configreader.h" #include "inspircd.h" +typedef std::map<char, std::string> SnoList; + class SnomaskManager : public Extensible { private: InspIRCd* ServerInstance; + SnoList SnoMasks; public: SnomaskManager(InspIRCd* Instance); ~SnomaskManager(); - + bool EnableSnomask(char letter, const std::string &description); + bool DisableSnomask(char letter); + void WriteToSnoMask(char letter, const std::string &text); + void WriteToSnoMask(char letter, const char* text, ...); + bool IsEnabled(char letter); }; #endif |