diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/cmd_reloadmodule.cpp | 1 | ||||
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/commands/cmd_reloadmodule.cpp b/src/commands/cmd_reloadmodule.cpp index 76920b758..20d520efe 100644 --- a/src/commands/cmd_reloadmodule.cpp +++ b/src/commands/cmd_reloadmodule.cpp @@ -43,6 +43,7 @@ class ReloadModuleWorker : public HandlerBase1<void, bool> if (user) user->WriteNumeric(975, "%s %s :Module %ssuccessfully reloaded.", user->nick.c_str(), name.c_str(), result ? "" : "un"); + ServerInstance->GlobalCulls.AddItem(this); } }; diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index 0b9b8da3b..e5012dcba 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -165,6 +165,12 @@ CullResult SpanningTreeUtilities::cull() } } + for(std::map<TreeSocket*, std::pair<std::string, int> >::iterator i = timeoutlist.begin(); i != timeoutlist.end(); ++i) + { + TreeSocket* s = i->first; + ServerInstance->GlobalCulls.AddItem(s); + } + ServerUser->uuid = TreeRoot->GetID(); ServerUser->cull(); delete ServerUser; |