aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-10-26 15:53:47 +0000
committerGravatar brain2007-10-26 15:53:47 +0000
commit66445ed7a20ad3ecfb876f9d9109a377cc4e2df7 (patch)
tree5a9a32cfb28fb55c8f2353844fffb1985f05d85b /src/inspircd.cpp
parentsvnmerge 8340: Theres no need to check the address of a stack declared array ... (diff)
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp19
1 files changed, 1 insertions, 18 deletions
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)