summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Socket error state stuffGravatar brain2006-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7
* Needs more testing but seems to work: In DoBackgroundUserStuff(), calculate ↵Gravatar brain2006-10-281-0/+1
| | | | | | the time value of when we actually do need enter the function body again, and dont run function body again till that time git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5568 e03df62e-2008-0410-955e-edbf42e46eb7
* Try this, werdnumGravatar brain2006-10-281-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5562 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow relative path on pid fileGravatar brain2006-10-271-3/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5547 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a tiny bit more logging to LoadModule, to log to default loglevel when ↵Gravatar brain2006-10-161-0/+4
| | | | | | a module is loaded git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5487 e03df62e-2008-0410-955e-edbf42e46eb7
* Whowas is now fixed.Gravatar brain2006-10-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5414 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove testcasesGravatar brain2006-10-021-42/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5398 e03df62e-2008-0410-955e-edbf42e46eb7
* Add more features to modestacker so that we can stack +, -, and ↵Gravatar brain2006-10-021-0/+42
| | | | | | parameterless modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5391 e03df62e-2008-0410-955e-edbf42e46eb7
* IsNick moved to helperfuncs.cpp, makes a lot more sense than inspircd.cppGravatar w00t2006-10-021-24/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5388 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove -notraceback and -nolimit from command line help; these options are ↵Gravatar w00t2006-10-021-1/+1
| | | | | | removed and deprecated/removed respectivly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5387 e03df62e-2008-0410-955e-edbf42e46eb7
* Update credits (add pippijn/jamie to startup notice, move jamie from ↵Gravatar w00t2006-10-021-1/+1
| | | | | | contributors to developers in /info) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5386 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with binary versioning goodnessGravatar brain2006-10-011-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove deprecated -nolimit and -notraceback optionsGravatar w00t2006-09-261-12/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5338 e03df62e-2008-0410-955e-edbf42e46eb7
* ModuleFactories are not being deleted, this means that updates arent loadedGravatar brain2006-09-091-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5191 e03df62e-2008-0410-955e-edbf42e46eb7
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsGravatar brain2006-08-301-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
* Snomask support cometh! and it leave a sticky white mess all over the floor :(Gravatar brain2006-08-291-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5062 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: connect() cant time out for inspsockets in this commit. They'll sit in ↵Gravatar brain2006-08-281-3/+0
| | | | | | memory forever -- if you want something actually working properly wait for the next commit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5040 e03df62e-2008-0410-955e-edbf42e46eb7
* ModeParser::InsertMode is no longer required -- this is auto-generated by ↵Gravatar brain2006-08-231-1/+1
| | | | | | the ModeParser based on what modes are registered and wether or not they have certain attributes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5007 e03df62e-2008-0410-955e-edbf42e46eb7
* More prefixchar stuff.Gravatar brain2006-08-231-1/+1
| | | | | | | WARNING: 005 numeric is broken in this commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7
* NONBLOCKING LOGGER!Gravatar brain2006-08-181-0/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4971 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix trying to add failed ports to socketengine (<3 new code)Gravatar brain2006-08-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4967 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly return false on failure to forkGravatar brain2006-08-181-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4955 e03df62e-2008-0410-955e-edbf42e46eb7
* Checking if child pid still exists, if it vanishes we exitGravatar brain2006-08-181-7/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4954 e03df62e-2008-0410-955e-edbf42e46eb7
* When daemonizing, have parent process wait forever, and child process kill ↵Gravatar brain2006-08-181-6/+10
| | | | | | it when we're done initializing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4953 e03df62e-2008-0410-955e-edbf42e46eb7
* Move lowermap[] into a pre-initialised const array in hashcomp.h,Gravatar brain2006-08-181-24/+1
| | | | | | | get rid of InspIRCd::MakeLowertab() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4951 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of SocketEngine::Wait and array-copy, change to ↵Gravatar brain2006-08-181-21/+4
| | | | | | SocketEngine::DispatchEvents git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4944 e03df62e-2008-0410-955e-edbf42e46eb7
* EventHandler class, an abstraction for raw i/oGravatar brain2006-08-181-137/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimize tons more timer checking stuffGravatar brain2006-08-171-36/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4938 e03df62e-2008-0410-955e-edbf42e46eb7
* DoSocketTimeouts and TickTimers only need to be called once a second. Why ↵Gravatar brain2006-08-171-5/+4
| | | | | | they were being called once every time around the mainloop, up to 30 times a second, is beyond me. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4937 e03df62e-2008-0410-955e-edbf42e46eb7
* Clear fd_ref_table and socket_ref arrays in the constructorGravatar brain2006-08-131-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4915 e03df62e-2008-0410-955e-edbf42e46eb7
* This commit is dedicated to Boo ;-ppppppGravatar brain2006-08-121-82/+58
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4911 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a blank line! WOO YAY! biggest commit all week!Gravatar brain2006-08-111-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4901 e03df62e-2008-0410-955e-edbf42e46eb7
* Just to mess with om's head, remove helperfuncs.h from everywhereGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
* CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.Gravatar brain2006-08-111-2/+2
| | | | | | | NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
* Move remaining functions:Gravatar brain2006-08-111-2/+3
| | | | | | | | | | | operstrcmp* commands.cpp InspIRCd::operstrcmp() duration* commands.cpp InspIRCd::duration() host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone() ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone() nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7
* This commit-o-gram is dedicated to boo, because i geek too much :) love you ↵Gravatar brain2006-08-111-63/+39
| | | | | | babe ;-ppp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4886 e03df62e-2008-0410-955e-edbf42e46eb7
* Move xline to before config systemGravatar brain2006-08-111-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4883 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to using Instance->Log (InspIRCd::Log) rather than log() macroGravatar brain2006-08-111-38/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd ↵Gravatar brain2006-08-111-3/+1
| | | | | | | | | object called ServerInstance, ilog() takes an InspIRCd object as first param. TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all of the xline stuff into class XLineManager, make an instance of it ↵Gravatar brain2006-08-111-2/+3
| | | | | | | | | in class InspIRCd and use it (eliminates another extern) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4878 e03df62e-2008-0410-955e-edbf42e46eb7
* Move whowas into InspIRCdGravatar brain2006-08-111-14/+0
| | | | | | | Tidy up lowermap extern (for now, we cant do much but have this as extern) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4876 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of an externGravatar brain2006-08-111-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4875 e03df62e-2008-0410-955e-edbf42e46eb7
* extern time_t TIME -> InspIRCd::Time()Gravatar brain2006-08-111-4/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7
* Committing this as a rollback point - does not compileGravatar brain2006-08-101-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4860 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.Gravatar brain2006-08-101-1/+1
| | | | | | | | Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
* So much stuff changed in this one, i forgot most of it.Gravatar brain2006-08-101-4/+3
| | | | | | | Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
* Mass-tidyup of module global vars, theyre no longer global vars.Gravatar brain2006-08-101-27/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7
* Move tons more stuff into class InspIRCd*, make signal handler functions ↵Gravatar brain2006-08-101-15/+7
| | | | | | static members git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7
* Move AllModulesReportReady into a private method of class InspIRCdGravatar brain2006-08-101-0/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4851 e03df62e-2008-0410-955e-edbf42e46eb7
* Move FileExists, CleanFilename, DirValid, GetFullProgDir into class ServerConfigGravatar brain2006-08-101-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4848 e03df62e-2008-0410-955e-edbf42e46eb7