mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
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:
parent
50fed3e9a6
commit
aa3dc8c472
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user