Tidy up this windows ifdef. Still not sure why it's needed at all, but okay..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8273 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2007-10-21 19:30:57 +00:00
parent 50fed3e9a6
commit aa3dc8c472

View File

@ -705,20 +705,19 @@ int ircd(int argc, char ** argv)
return 0;
}
#ifdef WINDOWS
int main(int argc, char ** argv)
{
ircd(argc,argv);
return 0;
int retval = 0;
#ifndef WINDOWS
// XXX No idea why this is windows only..
retval =
#endif
ircd(argc,argv);
return retval;
}
#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