+class Snomask
+{
+ private:
+ InspIRCd *ServerInstance;
+
+ public:
+ char MySnomask;
+ std::string Description;
+ std::string LastMessage;
+ unsigned int Count;
+
+ /** Create a new Snomask
+ */
+ Snomask(InspIRCd* Instance, char snomask, const std::string &description)
+ {
+ ServerInstance = Instance;
+ MySnomask = snomask;
+ Description = description;
+ }
+
+ /** Sends a message to all opers with this snomask.
+ */
+ void SendMessage(const std::string &message);
+
+ /** Sends out a pending message
+ */
+ void Flush();
+};