summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 8e8556331..54d942305 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -696,7 +696,7 @@ void InspIRCd::BufferedSocketCull()
* An ircd in five lines! bwahahaha. ahahahahaha. ahahah *cough*.
*/
-int ircd(int argc, char ** argv)
+int main(int argc, char ** argv)
{
SI = new InspIRCd(argc, argv);
mysig = &SI->s_signal;
@@ -705,20 +705,6 @@ int ircd(int argc, char ** argv)
return 0;
}
-int main(int argc, char ** argv)
-{
- int retval = 0;
-
- #ifndef WINDOWS
- // XXX No idea why this is windows only..
- retval =
- #endif
- ircd(argc,argv);
-
- return retval;
-}
-
-
/* 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)