From 66445ed7a20ad3ecfb876f9d9109a377cc4e2df7 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 26 Oct 2007 15:53:47 +0000 Subject: the minidump stuff is only available in 5.1 dbghelp.dll which is xp and above. we must remove this to retain 2k compatibility git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8370 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 5bd632b5c..ea0493802 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1170,7 +1170,7 @@ int InspIRCd::Run() * An ircd in four lines! bwahahaha. ahahahahaha. ahahah *cough*. */ -int ircd(int argc, char** argv) +int main(int argc, char** argv) { SI = new InspIRCd(argc, argv); SI->Run(); @@ -1178,23 +1178,6 @@ int ircd(int argc, char** argv) return 0; } -#ifdef WINDOWS - -int main(int argc, char ** argv) -{ - __try { - ircd(argc,argv); - } __except(__exceptionHandler(GetExceptionInformation())) {} - return 0; -} - -#else -int main(int argc, char** argv) -{ - return ircd(argc,argv); -} -#endif - /* this returns true when all modules are satisfied that the user should be allowed onto the irc server * (until this returns true, a user will block in the waiting state, waiting to connect up to the * registration timeout maximum seconds) -- cgit v1.3.1-10-gc9f91