InspIRCd
2.0
|
#include <modules.h>
Public Member Functions | |
ModResult (int r) | |
bool | operator== (const ModResult &r) const |
bool | operator!= (const ModResult &r) const |
bool | operator! () const |
bool | check (bool def) const |
ModResult | operator+ (const ModResult &r) const |
Public Attributes | |
int | res |
Used to represent an allow/deny module result. Not constructed as an enum because it reverses the value logic of some functions; the compiler will inline accesses to have the same efficiency as integer operations.
Merges two results, preferring ALLOW to DENY