aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
...
* Add $NoPedantic build macro, for m_mysql because mysql AB dont know how to co...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-0/+1
* Visual studio doesnt like throw definitions like this•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-1/+1
* All of insp now builds with -pedantic (theres some warnings to squash in modu...•••I suggest we actually go through and satisfy these unused parameter errors for two reasons: (1) it acts as a strong compiler hint leading to better optimization (2) it will give us a good clue of what parameters are NEVER used and should therefore be removed from use (like i just did with AddMode) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8323 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-2323-25/+27
* More•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8322 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-2319-20/+20
* More AddModes fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8321 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-233-3/+3
* Some AddMode fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8320 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-235-5/+5
* All the core is now pedantic safe!•••NOTE: I changed ModeHandler removing a redundant param. Devs, if you find stuff that doesnt compile, change AddMode(handler, 'l') to AddMode(handler); and it will :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8319 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-2326-30/+31
* More pedantic safety•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8318 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-115/+111
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-2321-39/+39
* pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8316 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-35/+30
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8315 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-4/+4
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-236-45/+50
* -pedantic tidyups, lets see if it finds anything worthy of a fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8313 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-1/+1
* Oops: Fix one version of overrided match() always being case sensitive..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8310 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-231-1/+2
* Conditionals in the buildsystem language allowing for checking of configure f...•••/* $If: USE_KQUEUE */ /* $ExtraSources: socketengine_kqueue.cpp */ /* $ExtraObjects: socketengine_kqueue.o */ /* $EndIf */ This is used exactly where the example dictates: to pick a socket engine from the socketengine.cpp. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8308 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+19
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-2225-0/+53
* Remove a wrapper, it's easy to read as is :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8300 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-223-9/+3
* Move cmd_*.cpp to src/commands/. Not done in the nicest of ways yet, but ah w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8299 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-2253-0/+0
* Move InspIRCd::IsValidMask() to helperfuncs.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8298 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-222-36/+32
* Oops, checked wrong var :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8294 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* This works, not sure why. Someone find out why we cant use && !isock->HasResu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+4
* Another big commit, just to please all my fans out there.. cmd_* -> Command*....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-21100-330/+330
* 3 second penalty to CYCLE.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8286 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-1/+1
* Update/clarify a comment a bit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8281 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-8/+11
* Tidy up some DNS stuff more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8280 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-213-13/+11
* Move DNS timeouts into the UserResolver class, where they should have been (b...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8278 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-212-26/+7
* Minor tweak to avoid a storm of redundant read events. This isnt the fix, i d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8276 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-2/+3
* 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
* Set these back to sane operation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8271 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-215-11/+18
* Change how the socket engines work when you addfd on an fd that already exists.•••the only SANE outcome is that youve forgotten to DelFd, so it does this for you. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8269 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-215-11/+5
* Remove more debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8268 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-2/+0
* Remove debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8267 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-20/+0
* Use the new IncreasePenalty rather than directly using += on the Penalty value.•••Maybe the penalty value should be private and there should be an accessor, GetPenalty()? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Add a 10 second penalty on failed oper-up. This may seem a little extreme, bu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-0/+3
* Add User::IncreasePenalty() and User::DecreasePenalty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8264 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-0/+10
* Fixed ssl clients on trunk. The problem peavey was having was that before Rea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-213-10/+20
* Set penalties (documentation page listing these to come)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8262 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-2/+1
* This now sets User::ExemptFromPenalty too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8261 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-0/+1
* Don't penalize any of the SA commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8260 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-215-5/+5
* Add penalty to /commands as extra parameter•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8256 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+6
* Add the check for user->ExemptFromPenalty•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8255 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-6/+10
* Move some stuff around so the last penalty line doesnt get held erroneously u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-3/+4
* Tweak so that commands with larger penalty than 1 work right•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-10/+7
* Yay, all works!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8251 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-212-2/+12
* *untested* command buffering/penalty•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-213-47/+74
* Dont forget to initialize the new value•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Add User::UnderPenalty••• /** If this bool is set for a user, then the user is under penalty, in short they * are waiting for some held commands to be executed. If this is the case, then * any commands they have in their sendq are executed on a timer tick rather than in * their event handler. */ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8244 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Change a !string.length to string.empty. these are more readable and on some ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8243 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Subtract a boobie•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8242 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-1/+0