The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ModuleOperFlood Class Reference

Inheritance diagram for ModuleOperFlood:

Inheritance graph
[legend]
Collaboration diagram for ModuleOperFlood:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ModuleOperFlood (InspIRCd *Me)
Version GetVersion ()
 Returns the version number of a Module.
void OnPostOper (User *user, const std::string &opertype, const std::string &opername)
 Called after a user opers locally.

Detailed Description

Definition at line 17 of file m_operflood.cpp.


Constructor & Destructor Documentation

ModuleOperFlood::ModuleOperFlood InspIRCd Me  )  [inline]
 

Definition at line 20 of file m_operflood.cpp.

References ModuleManager::Attach(), I_OnPostOper, InspIRCd::Modules, and Module::ServerInstance.


Member Function Documentation

Version ModuleOperFlood::GetVersion  )  [inline, virtual]
 

Returns the version number of a Module.

The method should return a Version object with its version information assigned via Version::Version

Reimplemented from Module.

Definition at line 26 of file m_operflood.cpp.

References API_VERSION, and VF_VENDOR.

void ModuleOperFlood::OnPostOper User user,
const std::string opertype,
const std::string opername
[inline, virtual]
 

Called after a user opers locally.

This is identical to Module::OnOper(), except it is called after OnOper so that other modules can be gauranteed to already have processed the oper-up, for example m_spanningtree has sent out the OPERTYPE, etc.

Parameters:
user The user who is opering up
opername The name of the oper that the user is opering up to. Only valid locally. Empty string otherwise.
opertype The opers type name

Reimplemented from Module.

Definition at line 31 of file m_operflood.cpp.

References User::ExemptFromPenalty, IS_LOCAL, User::nick, and User::WriteServ().


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