summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-08-18Dont allow an empty key (thanks stskeeps)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4957 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Correctly return false on failure to forkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4955 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Checking if child pid still exists, if it vanishes we exitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4954 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18When daemonizing, have parent process wait forever, and child process kill ↵brain
it when we're done initializing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4953 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Move lowermap[] into a pre-initialised const array in hashcomp.h,brain
get rid of InspIRCd::MakeLowertab() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4951 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Dont allow USERIP (where loaded) on unregistered usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4950 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Dont allow USERHOST (and new WHO) on unregistered usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4947 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Don't allow adding of invalid nicknames to watchlistbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4945 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Get rid of SocketEngine::Wait and array-copy, change to ↵brain
SocketEngine::DispatchEvents git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4944 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Modified m_silence to take masks instead of nicknames. Since this is *much* ↵special
more CPU intensive, we should probably put in a maximum number of entries soon git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4943 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18EventHandler class, an abstraction for raw i/obrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18Forward port of /list pattern matching, reported by Stskeepsspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4940 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17Optimize tons more timer checking stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4938 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17DoSocketTimeouts and TickTimers only need to be called once a second. Why ↵brain
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
2006-08-17Just commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4935 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4934 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17userrec::AddBuffer and userrec::Write end up copying the const std::string& ↵brain
into a non-const to make use of it, why not just pass std::string and let the compiler do the copy when passing it? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4933 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17Improve userrec::AddBuffer (remove craq char to std::string loop)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4932 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17Change a std::string operator+= to append()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4931 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17Optimization and removal of casts (profiling stuff)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4930 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Check in eline, gline and kline for the @ which signifies an ident. Without ↵brain
the ident, these are malformed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4929 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Optimizationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4927 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Wasnt checking channel name on ban deletionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4926 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16LeaChim please try thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4923 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16free() REQUIRES casts to free const char*'s :<brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4922 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Because the iterator can be whacked (and the item) inside of SetBan, make copiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4921 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-16Tweak: Setting server pointer isnt requiredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4920 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-13If +L is set without +l, dont forward usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4918 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-13Clear fd_ref_table and socket_ref arrays in the constructorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4915 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12So i wonder why we've not had this problem soonerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4914 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12Make sure that the hostname isnt set after the timeout periodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4912 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12This commit is dedicated to Boo ;-ppppppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4911 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12Catch exceptions from SQLresolverom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4910 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Remove a blank line! WOO YAY! biggest commit all week!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4901 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Just to mess with om's head, remove helperfuncs.h from everywherebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.brain
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Move remaining functions:brain
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
2006-08-11So is this one ;-pppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4887 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11This commit-o-gram is dedicated to boo, because i geek too much :) love you ↵brain
babe ;-ppp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4886 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Somehow, IMPORTANT changes got reverted.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4885 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11peline/pxline etc stuff removedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4884 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Move xline to before config systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4883 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Change to using Instance->Log (InspIRCd::Log) rather than log() macrobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Now two types of log macro, log() and ilog(). log() assumes an InspIRCd ↵brain
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
2006-08-11Move all of the xline stuff into class XLineManager, make an instance of it ↵brain
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
2006-08-11Move ReadBuffer into InspIRCd classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4877 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Move whowas into InspIRCdbrain
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
2006-08-11Removal of an externbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4875 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Change to use InspIRCd::Time()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11extern time_t TIME -> InspIRCd::Time()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7