From 52214a3195d062bc45522e7da58bbe7611d040f6 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Mar 2007 15:53:34 +0000 Subject: 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 --- src/modules.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules.cpp') 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) { -- cgit v1.3.1-10-gc9f91