summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add basic stuff for protocol interface and implement a couple of the ↵Gravatar brain2008-04-041-1/+3
| | | | | | methods. It's all in ServerInstance->PI for calls from other modules/the core git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9297 e03df62e-2008-0410-955e-edbf42e46eb7
* Move this message so it actually displays when we're running non-debug: ↵Gravatar brain2008-04-021-1/+3
| | | | | | "InspIRCd is now running as 'test.chatspike.net'[037] with 5576 max open sockets" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9274 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix yet another warning.Gravatar brain2008-04-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9271 e03df62e-2008-0410-955e-edbf42e46eb7
* Automatic detection and allocation of max fds. No longer needs recompile to ↵Gravatar brain2008-04-021-2/+2
| | | | | | | | | change, just adjust it in your kernel or whatever and restart insp. Please note that select and iocp socket engines do not support detection and are always set to FD_SETSIZE and 10240 descriptors respectively. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9263 e03df62e-2008-0410-955e-edbf42e46eb7
* Better generation. This is still fucked up, but less spectacularly and in a ↵Gravatar w00t2008-04-021-25/+0
| | | | | | much less obvious way. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9260 e03df62e-2008-0410-955e-edbf42e46eb7
* Fuck. STOP committing first thing after waking up.Gravatar w00t2008-04-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9259 e03df62e-2008-0410-955e-edbf42e46eb7
* As part of this... don't give fake client a valid UID, as it's not needed ↵Gravatar w00t2008-04-021-1/+1
| | | | | | anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9258 e03df62e-2008-0410-955e-edbf42e46eb7
* UnneededGravatar w00t2008-04-021-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9255 e03df62e-2008-0410-955e-edbf42e46eb7
* Only setup fakeclient once.Gravatar w00t2008-04-011-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9253 e03df62e-2008-0410-955e-edbf42e46eb7
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in ↵Gravatar aquanight2008-03-301-1/+1
| | | | | | inspircd now get treated like printf (meaning compile-time check goodness) in GCC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
* Test commit. .coders now has CIA (instant notification) and the other ↵Gravatar brain2008-03-291-0/+1
| | | | | | channels that need to be informed when its available on the public svn get PostBot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9215 e03df62e-2008-0410-955e-edbf42e46eb7
* Ricer up AllModulesReportReady further. If one fails, all fail, so returning ↵Gravatar peavey2008-03-191-4/+3
| | | | | | false on first fail will save subsequent reduntant calls. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9138 e03df62e-2008-0410-955e-edbf42e46eb7
* Final tweak to AllModulesReportReady, should be there now.Gravatar peavey2008-03-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9134 e03df62e-2008-0410-955e-edbf42e46eb7
* Damnit, its right now. im going to bedGravatar brain2008-03-191-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9131 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, and dont get the comparison backwards. dont look at me like that, ↵Gravatar brain2008-03-191-1/+1
| | | | | | its almost 3am :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9130 e03df62e-2008-0410-955e-edbf42e46eb7
* Silly silly, AllModulesReportReady returns true when ONE module reports ↵Gravatar brain2008-03-191-5/+4
| | | | | | ready. Fixed here :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9128 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fixes to stop people changing the SID of a live server - certain ↵Gravatar brain2008-03-141-4/+1
| | | | | | configuration values are silently ignored on rehash, namely the server name and server id. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9073 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <options:exemptchanops> support to m_censor and m_blockcaps, and tidy up ↵Gravatar aquanight2008-03-091-1/+1
| | | | | | the checks in {block,strip}color, and remove an uneeded abs() on the "flowing backwards" warning. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9071 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a silly whoopsieGravatar brain2008-02-261-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9040 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some important commentsGravatar brain2008-02-241-0/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9029 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuffGravatar brain2008-02-241-0/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9026 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow for 'bail' and 'user' parameters to rehash threadGravatar brain2008-02-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9022 e03df62e-2008-0410-955e-edbf42e46eb7
* Rollback complete! Everyone please go through the code and check i havent ↵Gravatar brain2008-02-241-3/+5
| | | | | | forgotten to incorporate your tweaks and changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9019 e03df62e-2008-0410-955e-edbf42e46eb7
* First part of my evil empire! BWAHAHAHAHAHAHAH...HAHAHAHA...AHAHAH *cough* ↵Gravatar brain2008-02-241-8/+11
| | | | | | err i mean... remote includes (BWAHAHAHA) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9013 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert remaining InspIRCd::Log() calls to new logging systemGravatar aquanight2008-02-221-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
* 9000 ;pGravatar w00t2008-02-221-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9000 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a note about interfaces that may be usefulGravatar w00t2008-02-221-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8999 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke TIMESYNC from orbit \o/Gravatar w00t2008-02-221-17/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7
* Testsuite stuff and fixesGravatar brain2008-02-211-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8977 e03df62e-2008-0410-955e-edbf42e46eb7
* More test suite stuffGravatar brain2008-02-211-3/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8976 e03df62e-2008-0410-955e-edbf42e46eb7
* Make -nofork work properly with logging now.Gravatar aquanight2008-02-151-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
* Move most of startup process to use new logging, adds target 'STARTUP'Gravatar w00t2008-02-111-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8900 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement LogManager::CloseLogs() to give logstreams a chance to clean up on ↵Gravatar w00t2008-02-091-6/+1
| | | | | | rehash or exit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7
* New logging implementation. Also write messages about InspIRCd::Log() being ↵Gravatar w00t2008-02-091-5/+2
| | | | | | deprecated. Any takers on changing it all to use the new system? :P. STILL TODO: create <log> blocks in config, add a method called to 'cleanup' (or use destructor) of logstreams, add a method to logmanager to initiate destruction of all logstreams. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8858 e03df62e-2008-0410-955e-edbf42e46eb7
* Instantiate log managerGravatar w00t2008-02-091-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8857 e03df62e-2008-0410-955e-edbf42e46eb7
* Add new developers to list at startupGravatar w00t2008-02-051-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8834 e03df62e-2008-0410-955e-edbf42e46eb7
* Murder space indents.. now if I find out who did them, I'll murder them too ;(Gravatar w00t2008-02-021-27/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8799 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a null pointer dereference caused by my reordering/moving stuffGravatar w00t2008-02-021-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8792 e03df62e-2008-0410-955e-edbf42e46eb7
* Move some stuff to usermanager, remove a little header insanity, remove ↵Gravatar w00t2008-02-021-10/+10
| | | | | | trace because it's still less useful than a chocolate fireman. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7
* TweaksGravatar brain2008-01-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8751 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, should have test compiled thisGravatar brain2008-01-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8750 e03df62e-2008-0410-955e-edbf42e46eb7
* macgyverdgi asked for this :pGravatar brain2008-01-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8749 e03df62e-2008-0410-955e-edbf42e46eb7
* win32 compile error fixGravatar brain2008-01-211-10/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8745 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix.. snomask O is already taken (ffs) so use A insteadGravatar w00t2008-01-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd::WriteOpers in favour of snomask OGravatar w00t2008-01-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
* Two stage commit: don't set user->muted except in QuitUser (duplicate ↵Gravatar w00t2008-01-161-3/+3
| | | | | | setting), also, change muted to drop all socket operations instead of just not reading the user's buffer if muted is set (no point wasting time - they're going away). Also revert culllist back to once per mainloop iteration now it is much cheaper than previously. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7
* CullList: Don't try quit everyone. Speed/resource use enhancement on netsplits..Gravatar w00t2008-01-151-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8711 e03df62e-2008-0410-955e-edbf42e46eb7
* New timer code. This may be a tiny fraction slower (though I think it will ↵Gravatar w00t2008-01-131-1/+0
| | | | | | be acceptable given that we no longer need to tick old timers etc), but it is a lot simpler (about half the codesize of the old + no allocation of new timergroups etc), and should (I hope) always tick timers and never 'lose' them. Performs okay under 3500 connection attempts (0:00 CPU time :)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8708 e03df62e-2008-0410-955e-edbf42e46eb7
* First UserManager overhaul: Move clone counts out of InspIRCd & User.Gravatar w00t2008-01-131-18/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7