summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-11 15:53:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-11 15:53:34 +0000
commit52214a3195d062bc45522e7da58bbe7611d040f6 (patch)
tree9648e735b327dab6cf98804bb39ea4770214b8ca /src/modules.cpp
parent9802f6f93554ef1266ba6cac41a7752d25a35380 (diff)
Added OnBufferFlush, improved m_safelist, no longer works on a timer but works on the writeability state of each user who is listing.
Seems to test fine with 500 reet bots all listing at once. (doesnt lock up the ircd while listing them all any more, either, just lags a small amount) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6657 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 7505dd21e..46272a2bd 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -192,6 +192,7 @@ int Module::OnUserList(userrec* user, chanrec* Ptr) { return 0; };
int Module::OnWhoisLine(userrec* user, userrec* dest, int &numeric, std::string &text) { return 0; };
void Module::OnBuildExemptList(MessageType message_type, chanrec* chan, userrec* sender, char status, CUList &exempt_list) { };
void Module::OnGarbageCollect() { };
+void Module::OnBufferFlushed(userrec* user) { };
long InspIRCd::PriorityAfter(const std::string &modulename)
{