From 65d0d4fb366ef527f7bde471fc809d48fc26ccf2 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 26 Feb 2006 19:53:25 +0000 Subject: Moved the contents of the mainloop into a function called InspIRCd::DoOneIteration(). We can then use this to 'yield' if incoming server text is taking too long to process git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3342 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 3978eebf0..5a8dbcf97 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -126,6 +126,7 @@ class InspIRCd void MoveAfter(std::string modulename, std::string after); void MoveBefore(std::string modulename, std::string before); InspIRCd(int argc, char** argv); + void DoOneIteration(bool process_module_sockets); int Run(); }; -- cgit v1.3.1-10-gc9f91