git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8639
e03df62e-2008-0410-955e-
edbf42e46eb7
private:
InspIRCd *ServerInstance;
- /** Sends out a pending message
- */
- void Flush();
public:
char MySnomask;
std::string Description;
/** Sends a message to all opers with this snomask.
*/
void SendMessage(const std::string &message);
+
+ /** Sends out a pending message
+ */
+ void Flush();
};
/** A list of snomasks which are valid, and their descriptive texts
void SnomaskManager::FlushSnotices()
{
// stub.. not yet written XXX
+ for (std::map<char, Snomask *>::iterator i = SnoMasks.begin(); i != SnoMasks.end(); i++)
+ {
+ i->second->Flush();
+ }
}
bool SnomaskManager::EnableSnomask(char letter, const std::string &type)
{
this->Flush();
LastMessage = message;
- Count = 1;
}
else
{
}
}
}
+
+ LastMessage = "";
+ Count = 1;
}