InspIRCd  3.0
Public Member Functions | Friends | List of all members
Snomask Class Reference

Public Member Functions

 Snomask ()
 
void SendMessage (const std::string &message, char letter)
 
void Flush ()
 
std::string GetDescription (char letter) const
 

Friends

class SnomaskManager
 

Constructor & Destructor Documentation

◆ Snomask()

Snomask::Snomask ( )

Create a new Snomask

Member Function Documentation

◆ Flush()

void Snomask::Flush ( )

Sends out the (last message repeated N times) message

◆ GetDescription()

std::string Snomask::GetDescription ( char  letter) const

Returns the description of this snomask

Parameters
letterThe letter of this snomask. If uppercase, the description of the remote variant of this snomask will be returned (i.e.: "REMOTE" will be prepended to the description).
Returns
The description of this snomask

◆ SendMessage()

void Snomask::SendMessage ( const std::string &  message,
char  letter 
)

Sends a message to all opers with this snomask.

Parameters
messageThe message to send
letterThe snomask character to send the message to.

The documentation for this class was generated from the following files: