summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Raft of fixes so that inspircd can call Cleanup() and Exit() in less 'stable'...•••Also fix OpenLog to not always exit on error, but to return a bool instead, which is much more friendly on rehash (you don't want /REHASH dieing your server if you cant write the log!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7804 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-13/+25
* Bricker said so.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-0/+1
* make sure that the pointers are set up correctly for win32•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7600 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-0/+1
* Move a bunch of stuff around for tidyness, win32 functions keep creeping into...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-107/+3
* Abort if we cant chdir to our own dir (i'd say we have bigger things to worry...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7585 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-261-1/+5
* Add extra detail to m_cloaking on failure to load•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7580 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-261-0/+6
* Forgot to add to init-list•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-261-1/+3
* Move a ton of stuff into caller* functors•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7578 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-261-0/+2
* Un-static InspIRCd::Exit and use SignalHandler instead.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-251-15/+2
* Rehash from console works again due to new signalhandler. TODO: Use this to c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7571 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-251-1/+18
* Shorthand macros DEFINE_HANDLER1()...DEFINE_HANDLER9() to save on defining fu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7569 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-251-1/+3
* Turn IsIdent into a functor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7568 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-251-1/+4
* Add stuff for functors. Currently, as a test case only InspIRCd::IsNick has b...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7564 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-251-1/+4
* Begin move of rehash to server.cpp - broken rehash from cmdline for now.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7563 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-251-15/+0
* Put FileLogger in it's own class. Useful when logging doing more focused logging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-251-86/+0
* Move a bundle of stuff to server.cpp from inspircd.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7546 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-65/+0
* Merge a tiny sub in for readability, use this-> consistantly while calling me...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7542 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-11/+6
* Move more modules related stuff to modules.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-125/+0
* Some refactoring; move LoadModule and UnloadModule over to modules.cpp -- see...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7540 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-217/+0
* Fix crash on unload of modules with listening sockets -- some situations requ...•••Also squish some silly error output on unloading spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7529 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-231-0/+5
* Clean up the indenting here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7517 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-231-10/+9
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+1307
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1307/+1
* Revert a changed file I didn't want to commit ..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-031-89/+0
* Fix off-by-one reported by Darom in bug #339•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7421 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-031-0/+89
* No no no, the fix to free module factories in loadmodule on error causes a bu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-231-8/+0
* Make a comment make a bit more general sense, and indent a nested define.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7394 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-06-201-2/+4
* Helps if it compiles•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7389 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-181-3/+6
* This should be safe. Someone test module loading and unloading during use and...•••Also test some misconfigured modules, e.g. try and load m_services with m_services_account. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-181-1/+6
* fix possible minor memleak in LoadModule. Thx IronLegend.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7387 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-181-0/+1
* Tidyup ifdefs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7308 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-141-7/+7
* Whoops, that was silly, the double print thing wont compile for any other OS ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7279 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-4/+0
* Fix double printing of 'setting log file' and 'setting config file' paths.•••Add comment about not using direct pointer from GetCommandLine() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7278 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-3/+10
* We need to pass a copy of GetCommandLine() not the actual return pointer.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7277 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-1/+1
* Tweak some tabular declarations to look correct on 8-width tabs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7276 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-15/+15
* Woo, fixed the bug, win2k doesnt like the AUTHZ_LEVEL stuff :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7275 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-23/+22
* Fixed commandline stuff for CreateProcess, but it looks like win2k doesnt lik...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7274 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-111-3/+8
* - Added more debug output to windows fork in order to help debug problems enc...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7270 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-111-0/+16
* - Removed un-needed event create at windows fork.•••* Fixed command line arguments when using fork under windows. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-091-6/+5
* Fixed issue preventing startup without --nofork under win32•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar frostycoolslug2007-06-091-1/+1
* Change some = "" to clear() and some == "" to .empty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-3/+3
* Note to devs: We should be using std::string::clear() to empty a std::string,...•••assignment then de-allocation, whereas clear() just sets the length to 0. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7262 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-1/+1
* - Enabled minimal rebuild on all VS project files, this will reduce build tim...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7261 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-0/+1
* - Eek, gotta make it look the same as *nix! Windows will now print the proces...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7259 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-0/+1
* - Whoops.. forgot a return here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7258 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-0/+1
* * Changed forking code, now the parent will attempt to retrieve the exit code...•••. Exit code 14 means the creation of the forked process under windows failed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7257 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-11/+11
* + Added an *almost* unix-like fork system for windows. Insp will create a sec...•••* Fixed m_spanningtree project (cmd_rsquit was missing) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7255 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-06-081-19/+95
* Add Burlex to developers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-06-081-1/+1
* Refactored InspIRCd::Duration(). The leetcode now lives!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-051-1/+1
* Probably fix 2nd compile issue on RH7 and add some checks which *should* ensu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-06-031-1/+10