summaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Crux!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6127 e03df62e-2008-0410-955e-edbf42e46eb7 v1.1.0b7Gravatar brain2006-12-261-1/+1
* have configure detect SOMAXCONN and store it in a string define, SOMAXCONN_S•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6126 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-261-37/+37
* Add defaults for a ton of config vars, fix indentation, and add MAXCLIENTS_S ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6125 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-261-57/+49
* Change to use std::string::iterator rather than making a copy of the pointer ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6124 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-261-2/+1
* Just a little tweak so trigger values makes more sense.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6123 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-1/+1
* Add support for config option for percent and minimum string length +P will t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6121 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-10/+37
* Add some defaults to serverconfig, removing need to set them in validate meth...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6120 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-17/+15
* Also add support for default values for ConfValueBool and ConfValueInteger in...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6116 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-262-10/+52
* Tidyup a few var inits for whowas and ircu style prefix.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6114 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-4/+2
* Add possibility to define default value for ConfValue in configreader and Rea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6113 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-262-43/+63
* Fix m_httpd always crashing in destructor if no active Timeout.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6112 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-251-2/+2
* Cosmetic fix to stats z output.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6111 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-251-3/+2
* Fix ISON with multiple lines of ISON response, canonize the responses to weed...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6110 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-6/+13
* Fix broken +G for AnMaster (thanks for pointing out the bug)•••Also: MAJOR speed increase for *any network that loads m_censor*! It seems that this was looping all the censor items (not attempting a replace though) for all channels and users, even those that WERE NOT +G! Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6109 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-19/+14
* Double whoops•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6107 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-5/+5
* Whoops!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-4/+4
* SQLQuery operator% and operator, now support any data type•••(these are templated, and pass the type through ConvToStr()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-4/+4
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6104 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+1
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6103 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-2/+2
* Add new people to /info•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6102 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+3
* And fix obligitary brainfarts•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6099 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+1
* Whoops, crash on sighup due to passing null argv and argc (similar to rehash,...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+1
* Damnit, the comment caused a conflict :<•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6096 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+0
* w00t was right, freebsd needs <getopt.h> too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6095 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-3/+0
* Added a comment /* GNUs smell */ to an #ifdef linux makes us put in•••(what sort of craqsmoker puts posix standard functions that belong in unistd.h into getopt.h but only on linux? muppets). #ifdef _GNU_SOURCE #include <getopt.h> #endif ..... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6094 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Change argument parsing to use getopt_long_only().•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-36/+38
* Fix a bug in whowas that could desync list.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6091 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-241-2/+2
* Add whowas usage to stats z.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6090 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-241-2/+22
* Neither should this•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6089 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-242-0/+2
* Relatively small typo fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6088 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-242-25/+38
* Add call for OnGarbageCollect to the hourly cleanup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6087 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Add OnGarbageCollect method•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6086 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-242-1/+2
* Do garbage collection of hash map automatically every hour•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6085 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Fix loop when quitting multiple users (this is probably whats eating cpu)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6084 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-3/+7
* Better checks for NULL log handles•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6083 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-5/+12
* We can't log in SocketEngine::DelFd(), because the fd we're removing might ju...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6082 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-233-12/+0
* Crash on /rehash fixed (old code in here passed NULL, 0 as argc, argv, this i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6081 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-233-3/+5
* Hash rehashing change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-2323-193/+128
* Close logfile on rehash and reopen (it was only doing this on sighup for some...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6079 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-232-1/+8
* Dont sleep if there is a diedelay of 0•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6078 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+3
* Fix exit in wrong place, and add new exitcodes.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6077 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+1
* Fix bug in m_dnsbl, a condition is always matched because someone was using u...•••Change around the way exit codes are formed so that we can return a sensible exit code that reflects why inspircd exited git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-237-21/+27
* Program termination (including SIGTERM) now calls InspIRCd::Cleanup() which d...•••This means that on controlled shutdown we give the modules a chance to unload, etc, and close our sockets and free ram in a proper way. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6075 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-10/+21
* Fix issue where the last module to be loaded wasnt unloaded by restart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6074 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-232-6/+10
* Cut down on debug on restart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6073 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-232-4/+0
* Use GetModuleCount() rather than the member var•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6072 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-2/+2
* Fix glitch when restarting on 2nd pass of module unload•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6071 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+2
* Add more comments.•••Catch CoreException in cmd_restart, and if we catch one, just exit(0). Theres very little else we could do. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6070 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-232-11/+31
* Close client sockets too (do these last)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6069 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-0/+4
* Unload as many modules as we can on restart, and close listeners•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6068 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-232-0/+30