#include "module.h"#include "global.h"#include "os_session.h"
Go to the source code of this file.
Data Structures | |
| struct | DefconConfig |
| class | DefConTimeout |
| class | CommandOSDefcon |
| class | OSDefcon |
Enumerations | |
| enum | DefconLevel { DEFCON_NO_NEW_CHANNELS, DEFCON_NO_NEW_NICKS, DEFCON_NO_MLOCK_CHANGE, DEFCON_FORCE_CHAN_MODES, DEFCON_REDUCE_SESSION, DEFCON_NO_NEW_CLIENTS, DEFCON_OPER_ONLY, DEFCON_SILENT_OPER_ONLY, DEFCON_AKILL_NEW_CLIENTS, DEFCON_NO_NEW_MEMOS } |
Functions | |
| static void | runDefCon () |
| static Anope::string | defconReverseModes (const Anope::string &modes) |
Variables | |
| bool | DefConModesSet = false |
| static DefconConfig | DConfig |
| static ServiceReference < GlobalService > | GlobalService ("GlobalService","Global") |
| static Timer * | timeout |
| enum DefconLevel |
Definition at line 18 of file os_defcon.cpp.
| static Anope::string defconReverseModes | ( | const Anope::string & | modes | ) | [static] |
Definition at line 596 of file os_defcon.cpp.
References Anope::string::empty(), and Anope::string::length().
Referenced by runDefCon().
| static void runDefCon | ( | ) | [static] |
Definition at line 562 of file os_defcon.cpp.
References Anope::string::c_str(), DefconConfig::chanmodes, ChannelList, DefconConfig::Check(), DEFCON_FORCE_CHAN_MODES, DefConModesSet, defconReverseModes(), Anope::string::empty(), and OperServ.
Referenced by CommandOSDefcon::Execute(), and DefConTimeout::Tick().
DefconConfig DConfig [static] |
Definition at line 98 of file os_defcon.cpp.
| bool DefConModesSet = false |
Definition at line 32 of file os_defcon.cpp.
Referenced by runDefCon().
ServiceReference<GlobalService> GlobalService("GlobalService","Global") [static] |
Definition at line 105 of file os_defcon.cpp.
Referenced by MySQLService::Connect(), CommandOSStats::DoStatsAkill(), HTTPD::OnReload(), ModuleDNS::OnReload(), and MyManager::Process().
1.7.1