From 13a4f598b7e4ad56b5dc654d8f4b50b8a9851673 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 5 Jan 2008 15:25:58 +0000 Subject: Add SnomaskManager::FlushSnotices() stub git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8636 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + src/modules/m_spanningtree/treeserver.cpp | 1 + src/snomasks.cpp | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 114d38969..17aa0c933 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -652,6 +652,7 @@ int InspIRCd::Run() { FOREACH_MOD_I(this,I_OnBackgroundTimer,OnBackgroundTimer(TIME)); Timers->TickMissedTimers(TIME); + SNO->FlushSnotices(); } #ifndef WIN32 /* Same change as in cmd_stats.cpp, use RUSAGE_SELF rather than '0' -- Om */ diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp index 3e13526aa..64f01e83c 100644 --- a/src/modules/m_spanningtree/treeserver.cpp +++ b/src/modules/m_spanningtree/treeserver.cpp @@ -133,6 +133,7 @@ std::string& TreeServer::GetID() void TreeServer::SetID(const std::string &id) { + ServerInstance->Log(DEBUG, "Setting SID to " + id); sid = id; server_hash::iterator iter = Utils->sidlist.find(sid); if (iter == Utils->sidlist.end()) diff --git a/src/snomasks.cpp b/src/snomasks.cpp index dea7cc446..88714cf2d 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -27,6 +27,11 @@ SnomaskManager::~SnomaskManager() { } +void SnomaskManager::FlushSnotices() +{ + +} + bool SnomaskManager::EnableSnomask(char letter, const std::string &type) { if (SnoMasks.find(letter) == SnoMasks.end()) -- cgit v1.2.3