Public Member Functions | Private Attributes

CSSet Class Reference

Inherits Module.

Collaboration diagram for CSSet:
Collaboration graph
[legend]

Public Member Functions

 CSSet (const Anope::string &modname, const Anope::string &creator)
void OnReload () anope_override
void OnChanRegistered (ChannelInfo *ci) anope_override
EventReturn OnCheckKick (User *u, ChannelInfo *ci, Anope::string &mask, Anope::string &reason) anope_override

Private Attributes

CommandCSSet commandcsset
CommandCSSASet commandcssaset
CommandCSSetAutoOp commandcssetautoop
CommandCSSetBanType commandcssetbantype
CommandCSSetChanstats commandcssetchanstats
bool CSDefChanstats
CommandCSSetDescription commandcssetdescription
CommandCSSetFounder commandcssetfounder
CommandCSSetKeepTopic commandcssetkeeptopic
CommandCSSetPeace commandcssetpeace
CommandCSSetPersist commandcssetpersist
CommandCSSetPrivate commandcssetprivate
CommandCSSetRestricted commandcssetrestricted
CommandCSSetSecure commandcssetsecure
CommandCSSetSecureFounder commandcssetsecurefounder
CommandCSSetSecureOps commandcssetsecureops
CommandCSSetSignKick commandcssetsignkick
CommandCSSetSuccessor commandcssetsuccessor
CommandCSSASetNoexpire commandcssasetnoexpire

Detailed Description

Definition at line 1137 of file cs_set.cpp.


Constructor & Destructor Documentation

CSSet::CSSet ( const Anope::string modname,
const Anope::string creator 
) [inline]

Definition at line 1160 of file cs_set.cpp.

References ModuleManager::Attach(), I_OnCheckKick, OnReload(), and Module::SetAuthor().


Member Function Documentation

void CSSet::OnChanRegistered ( ChannelInfo ci  )  [inline, virtual]

Called when a channel is registered

Parameters:
ci The channel

Reimplemented from Module.

Definition at line 1181 of file cs_set.cpp.

References CSDefChanstats.

EventReturn CSSet::OnCheckKick ( User u,
ChannelInfo ci,
Anope::string mask,
Anope::string reason 
) [inline, virtual]

Called after a user join a channel when we decide whether to kick them or not

Parameters:
u The user
ci The channel
kick Set to true to kick
mask The mask to ban, if any
reason The reason for the kick
Returns:
EVENT_STOP to prevent the user from joining by kicking/banning the user

Reimplemented from Module.

Definition at line 1187 of file cs_set.cpp.

References EVENT_CONTINUE.

void CSSet::OnReload (  )  [inline, virtual]

Called when Services' configuration has been loaded.

Reimplemented from Module.

Definition at line 1175 of file cs_set.cpp.

References CSDefChanstats, and ConfigReader::ReadFlag().

Referenced by CSSet().


Field Documentation

Definition at line 1140 of file cs_set.cpp.

Definition at line 1157 of file cs_set.cpp.

Definition at line 1139 of file cs_set.cpp.

Definition at line 1141 of file cs_set.cpp.

Definition at line 1142 of file cs_set.cpp.

Definition at line 1143 of file cs_set.cpp.

Definition at line 1145 of file cs_set.cpp.

Definition at line 1146 of file cs_set.cpp.

Definition at line 1147 of file cs_set.cpp.

Definition at line 1148 of file cs_set.cpp.

Definition at line 1149 of file cs_set.cpp.

Definition at line 1150 of file cs_set.cpp.

Definition at line 1151 of file cs_set.cpp.

Definition at line 1152 of file cs_set.cpp.

Definition at line 1153 of file cs_set.cpp.

Definition at line 1154 of file cs_set.cpp.

Definition at line 1155 of file cs_set.cpp.

Definition at line 1156 of file cs_set.cpp.

bool CSSet::CSDefChanstats [private]

Definition at line 1144 of file cs_set.cpp.

Referenced by OnChanRegistered(), and OnReload().


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