diff options
| author | 2010-09-27 19:11:03 -0400 | |
|---|---|---|
| committer | 2010-09-27 19:11:03 -0400 | |
| commit | b98ea4605f7bcdf665f5c01acda5faf86edad382 (patch) | |
| tree | 77e28f44d28795a6956e91d37bdee762d3d880a3 /src/modules/m_serverbots.cpp | |
| parent | Notify users of successful account drop even if they aren't logged in to the ... (diff) | |
Initialize recursing and botID in the constructor
Diffstat (limited to 'src/modules/m_serverbots.cpp')
| -rw-r--r-- | src/modules/m_serverbots.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_serverbots.cpp b/src/modules/m_serverbots.cpp index 01179b1d1..4765336d7 100644 --- a/src/modules/m_serverbots.cpp +++ b/src/modules/m_serverbots.cpp @@ -198,12 +198,10 @@ class ModuleServerBots : public Module int botID; public: - ModuleServerBots() : dataExt(EXTENSIBLE_USER, "serverbot", this) {} + ModuleServerBots() : dataExt(EXTENSIBLE_USER, "serverbot", this), recursing(false), botID(0) {} void init() { - recursing = false; - botID = 0; ServerInstance->Modules->Attach(I_OnUserMessage, this); } |
