diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-25 19:57:30 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-25 19:57:30 +0000 |
commit | 01241d4574bf256aca1b6a379fe2c5685681d758 (patch) | |
tree | b17abe7cd810d785f75b483a1bb362aa1967a190 /src/inspircd.cpp | |
parent | 905b594ca2ae3b8a50158f447d109f40270fd41f (diff) |
Errr, who did this? :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8361 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 16 |
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) |