summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Remove some debug on startup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8660 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-081-10/+0
* Add SnomaskManager::FlushSnotices() stub•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8636 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-051-0/+1
* SID generation should(?) now work again as well. NOTE: no error checking on S...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8620 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-031-3/+10
* Patch turning Config->sid from size_t to char **. This also undoes the total ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8619 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-031-8/+14
* First part of stuff for remote includes (this doesnt work yet)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8601 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-181-26/+1
* Correctly do the second setup of the fake client (AFTER uid has been initiali...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8599 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-161-5/+5
* Argh, i give up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8594 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-121-3/+1
* More craq•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8593 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-121-2/+2
* This fixed. Initialise dns at the end of pass 1 before loading first set of m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8582 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-3/+1
* We need to initialize the user twice, and we need to initialize the uid AFTER...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8573 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-26/+35
* Report failure to load configs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8571 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-0/+6
* Add a counter for errored files•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-1/+12
* Begin rethink on this. Warning, this WILL break your ircd if youre using trunk!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8566 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-1/+20
* In prep for remote includes, configuration reading is now two-pass.•••Note that theres an important part missing from here, there can be a NON-BLOCKING delay between the start of pass 2 and the files being available for download. At this point, ServerConfig::Read() should probably return an ENOTREADY or such at which point it gets monitored for ready state. The socket engine is ready at this point so we can poll the socket engine for it. In the case of startup, the socket engine blocks in a private loop, its no good booting the ircd till we have a complete config! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-9/+12
* Fix these to use new hook system (u_listmode wasnt fixed yet)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-5/+0
* Fix the two FIXMEs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8521 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-15/+3
* Not yet tested: remove last vestiges of modules[] and module_names[] arrays.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8514 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-11/+8
* Remove our vectors of Module*/ircd_module*, replace with a map of std::pair<i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8513 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-3/+0
* Instantiate BanCache in InspIRCd class.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8491 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-0/+2
* Tidy up, and make the identifer for a line type be std::string not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-1/+1
* XLines now only checked for expiry on positive hit. saves us a honking big O(...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8458 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-1/+0
* Reorder creation of objects so:•••1) they are all done in the same place 2) calling InspIRCd::Exit() early on (before initialising a few things is done) doesn't crash us ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8426 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-311-9/+9
* Clean up XLine conf stuff a little bit, move most of it to configreader. Also...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8425 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-311-0/+4
* Make install list list automatically generated from build targets and provide...•••Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module. Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-0/+2
* Errr, who did this? :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8361 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-15/+1
* 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 Gravatar w00t2007-10-211-10/+9
* We bloated. We're 5 lines now, not 4. :(•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8272 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-1/+1
* Remove next_call garbage.. It didn't really do much more than obfuscate thing...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8241 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-2/+5
* InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which id...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-3/+3
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-5/+5
* Fix crashing on startup if there was an error condition in win32•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8193 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-1/+5
* Remove crashdump stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8192 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-3/+1
* move opening of log before opening of config so that failure to open the conf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-8/+8
* Remove InspIRCd::DoOneIteration, throwback to software threading (lulz)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8065 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-231-74/+68
* * Fixed some incorrect declarations in IOCPEngine•••* Fixed the virtual socket wrapper functions in IOCPEngine {these should really be inlined on unix} * Fixed several compilation issues under Win32 * Fixed calls to close() which should've been changed to SE->Close() + Added a crashdump saving system to Win32 builds. Dumps are saved in the format of dump-<exename>-<year>-<month>-<day>-<hour>-<minute>-<second>.dmp in the working directory. Enabled by default, undefine ENABLE_CRASHDUMPS to disable. + Added m_operflood, this is a module I've had lying around for some time but some users may like it as it allows unreal-like behaviour without increasing flood limits for non-opers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8015 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-09-041-1/+18
* Unbreak the compile.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8008 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-311-2/+1
* This may not compile, I'll test it on my desktop. Waiting 20 minutes for a bu...•••- Move UUID initialisation to InspIRCd::InitialiseUID() - Call it if we run out of existing UUIDs - Call it on startup Just a small cleanup. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8007 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-311-7/+16
* Move everything module-related out of InspIRCd and into ModuleManager, there ...•••All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-08-281-16/+13
* Oops: initialise fake client after UID setup, so it gets a UID. This may be u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7947 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-4/+4
* Add a global fake client to class InspIRCd used instead of instantiating a fa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7938 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-0/+4
* Fix potential for duplicate SID if the SID is auto generated.•••Auto generated SIDs are initialized too late after modules are loaded rather than before. Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7924 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-35/+33
* Add <server:id> - this is optional, as stated in the example conf,•••and should only be set if you are getting collisions. The comment also points out that ids where either of the last two letters are numeric are reserved for services use (e.g. 0ZZ or 5CQ) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7917 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-5/+14
* Remove more unnecessary header traffic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-5/+0
* Add uuid hash_map - its management is automatic via userrec constructors/dest...•••Note that this means 'fake' users used to set modes etc get a uid, but this isnt a major thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7876 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+8
* Now we know it works, remove debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7851 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+0
* Whoops•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7850 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-1/+3
* Automatic SID generation based on code similar to the STL hash function and u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7849 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+12
* Initial UUID generation code. Generates a TS6 compatible UUID.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7846 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-261-0/+15
* Craquity craq De-craq!•••This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-9/+5
* Move WSACleanup() into IOCPEngine destructor, eliminating an "#ifdef WIN32" f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7807 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-5/+0