aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* This is all just odd. what can we expect?Gravatar brain2008-02-171-30/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8960 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean ↵Gravatar aquanight2008-02-172-35/+97
| | | | | | everything except USER{INPUT,OUTPUT}), also pretty up and expand on the documentation in LogManager git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8959 e03df62e-2008-0410-955e-edbf42e46eb7
* Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like ↵Gravatar aquanight2008-02-172-2/+2
| | | | | | the rest of the config, instead of comma-seperated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8957 e03df62e-2008-0410-955e-edbf42e46eb7
* w00t pointed out it needs doing here tooGravatar brain2008-02-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8952 e03df62e-2008-0410-955e-edbf42e46eb7
* I gots a better fix :pGravatar brain2008-02-172-2/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8951 e03df62e-2008-0410-955e-edbf42e46eb7
* Seperate USERIO into USERINPUT and USEROUTPUTGravatar brain2008-02-172-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8949 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport SendXLines() fix on netburst (don't buffer loads of lines at once), ↵Gravatar w00t2008-02-161-5/+4
| | | | | | and fix: don't propegate K:Lines on netburst git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8948 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch by dz avoiding <badchan:redirect> loops, and tidying up on-rehash checks.Gravatar w00t2008-02-161-3/+46
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8947 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge warning about InspIRCd::Log()Gravatar aquanight2008-02-151-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8945 e03df62e-2008-0410-955e-edbf42e46eb7
* Make -nofork work properly with logging now.Gravatar aquanight2008-02-156-38/+48
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
* Change string for Om <3Gravatar brain2008-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8943 e03df62e-2008-0410-955e-edbf42e46eb7
* Make AC_OTHERMODE OnAccessCheck call work again.Gravatar brain2008-02-141-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8942 e03df62e-2008-0410-955e-edbf42e46eb7
* If the mode defined by the handler is not '\0', but the handler for itGravatar brain2008-02-141-17/+23
| | | | | | | | | cannot be found, they probably dont have the right module loaded to implement the prefix they want to compare the mode against, e.g. '&' for m_chanprotect. Revert to checking against the minimum core prefix, '%'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8941 e03df62e-2008-0410-955e-edbf42e46eb7
* Reword the failure message to read a little betterGravatar brain2008-02-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8940 e03df62e-2008-0410-955e-edbf42e46eb7
* Duh, wasnt working when the user had NO prefixes at all!Gravatar brain2008-02-141-10/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8939 e03df62e-2008-0410-955e-edbf42e46eb7
* That was REALLY dumb. Due to a stupid kludge i did, there was duplicate code ↵Gravatar brain2008-02-141-61/+46
| | | | | | and the new permissions stuff was only working against modes with params! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8938 e03df62e-2008-0410-955e-edbf42e46eb7
* As a final test of this, set the permissions required to set channel mode +h ↵Gravatar brain2008-02-141-1/+1
| | | | | | to be '@' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8937 e03df62e-2008-0410-955e-edbf42e46eb7
* All working now, with any luckGravatar brain2008-02-141-16/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8936 e03df62e-2008-0410-955e-edbf42e46eb7
* New mode stuff. Note, the framework is now here so that every mode handler ↵Gravatar brain2008-02-141-18/+51
| | | | | | | | | | can state what prefix is required to execute it. For example: You can say that mode +j needs '%' to execute it, so that then only a halfop or above can use mode +j. If you put '@' in this member value, only ops and above can use it. The OnRawMode can return ACR_ALLOW on a case by case basis to totally override this check against the prefix char. If you return ACR_DEFAULT the check goes ahead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8935 e03df62e-2008-0410-955e-edbf42e46eb7
* Somebody *eyes a certain norwegian wannabe* defined two commands called ↵Gravatar brain2008-02-142-1/+7
| | | | | | WATCH... O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8934 e03df62e-2008-0410-955e-edbf42e46eb7
* Keep count of the number of events in total, and seperate read, write and ↵Gravatar brain2008-02-146-11/+45
| | | | | | error event counters. We can use this for monitoring of heavy socket engine activity, e.g. a 'stuck' eventhandler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8933 e03df62e-2008-0410-955e-edbf42e46eb7
* More OnRawMode fixGravatar w00t2008-02-141-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8932 e03df62e-2008-0410-955e-edbf42e46eb7
* Hopefully fix behaviour of OnRawModeGravatar w00t2008-02-141-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8931 e03df62e-2008-0410-955e-edbf42e46eb7
* Change the Implementation list size from a sizeof which worked by fluke to ↵Gravatar om2008-02-141-1/+1
| | | | | | just having a int constant in source git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8930 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix timer crashes: relying on an iterator after adding to/resorting the ↵Gravatar w00t2008-02-141-2/+3
| | | | | | vector probably isn't bright git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8929 e03df62e-2008-0410-955e-edbf42e46eb7
* More <log> stuffGravatar aquanight2008-02-143-47/+119
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8928 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch provided by danieldg for fixing 3-figure versions in configureGravatar brain2008-02-132-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8926 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix my compile error.Gravatar w00t2008-02-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8925 e03df62e-2008-0410-955e-edbf42e46eb7
* Commit patch from danieldg that makes a ton of stuff const-safe for latest ↵Gravatar brain2008-02-1330-54/+49
| | | | | | warn-happy trigger-happy gcc4 (thanks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7
* This doesn't need to be inside the loop. There is only one IP for ↵Gravatar w00t2008-02-131-3/+4
| | | | | | (potentially) multiple ports, after all.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8921 e03df62e-2008-0410-955e-edbf42e46eb7
* Slight API tweak. Change Command to take char * instead of char in it's ↵Gravatar w00t2008-02-1331-35/+35
| | | | | | constructor, this avoids confusion/generates a compile error if someone mixes up flags with number of params, instead of working but not working as expected in a weird manner. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8918 e03df62e-2008-0410-955e-edbf42e46eb7
* Support \* in silence flags, do the same thing as a(ll) flag.Gravatar w00t2008-02-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8917 e03df62e-2008-0410-955e-edbf42e46eb7
* Add SVSWATCH command: services may issue it to modify the watch list of a ↵Gravatar w00t2008-02-121-1/+32
| | | | | | client. Syntax: :sender SVSWATCH user watchcraphere git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8916 e03df62e-2008-0410-955e-edbf42e46eb7
* HA, that did itGravatar brain2008-02-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8914 e03df62e-2008-0410-955e-edbf42e46eb7
* apparently ar -s is equivalent to ranlib, except it doesnt have a fucking ↵Gravatar brain2008-02-121-1/+1
| | | | | | noisy non-redirectable message :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8913 e03df62e-2008-0410-955e-edbf42e46eb7
* -Wshadow fixesGravatar brain2008-02-122-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8912 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport r8910: oper quit message would be blankGravatar w00t2008-02-121-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8911 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix missing user->nick in m_calleridGravatar aquanight2008-02-121-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8908 e03df62e-2008-0410-955e-edbf42e46eb7
* -Wshadow fixes for some modules in extra/Gravatar aquanight2008-02-127-36/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8907 e03df62e-2008-0410-955e-edbf42e46eb7
* Add (empty) testsuite.cppGravatar brain2008-02-111-0/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8904 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix trampling on memory in Z/G/K/ELine.Gravatar w00t2008-02-115-44/+68
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8901 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
* -Woverloaded-virtual fixesGravatar w00t2008-02-113-7/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8899 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix: Extra duplication of InspIRCd * is not necessary.Gravatar w00t2008-02-111-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8896 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove many unneeded headers from spanningtree filesGravatar w00t2008-02-1117-227/+70
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8895 e03df62e-2008-0410-955e-edbf42e46eb7
* Last of the -Wshadow fixes.Gravatar w00t2008-02-1111-80/+79
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8894 e03df62e-2008-0410-955e-edbf42e46eb7
* More -Wshadow fixes.. not really finished yetGravatar w00t2008-02-114-14/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8893 e03df62e-2008-0410-955e-edbf42e46eb7
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ↵Gravatar w00t2008-02-1130-176/+178
| | | | | | note to webirc that needs looking at. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_chanlog crashing.Gravatar aquanight2008-02-101-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8887 e03df62e-2008-0410-955e-edbf42e46eb7
* Code for loading <log method=file> tags from config, but this still needs to ↵Gravatar aquanight2008-02-103-78/+155
| | | | | | be fit into the config reader stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8885 e03df62e-2008-0410-955e-edbf42e46eb7