summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-18Phew. Fix a bunch of method sigs to stop warnings.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8966 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18Someone please help me fix the warnings in modules caused by this change. ↵brain
All mode handler OnMode events, ModeWatcher::BeforeMode/AfterMode, plus OnRawMode now have a bool servermode parameter git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8964 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18Merge in patch by Darom that fixes race condition when unloading m_mysql.so ↵brain
that may cause it to crash, fixes bug #438 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8963 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17This is all just odd. what can we expect?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8960 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean ↵aquanight
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
2008-02-17Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like ↵aquanight
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
2008-02-17w00t pointed out it needs doing here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8952 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17I gots a better fix :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8951 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17Seperate USERIO into USERINPUT and USEROUTPUTbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8949 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-16Backport SendXLines() fix on netburst (don't buffer loads of lines at once), ↵w00t
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
2008-02-16Patch by dz avoiding <badchan:redirect> loops, and tidying up on-rehash checks.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8947 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-15Merge warning about InspIRCd::Log()aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8945 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-15Make -nofork work properly with logging now.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Change string for Om <3brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8943 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Make AC_OTHERMODE OnAccessCheck call work again.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8942 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14If the mode defined by the handler is not '\0', but the handler for itbrain
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
2008-02-14Reword the failure message to read a little betterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8940 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Duh, wasnt working when the user had NO prefixes at all!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8939 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14That was REALLY dumb. Due to a stupid kludge i did, there was duplicate code ↵brain
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
2008-02-14As a final test of this, set the permissions required to set channel mode +h ↵brain
to be '@' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8937 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14All working now, with any luckbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8936 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14New mode stuff. Note, the framework is now here so that every mode handler ↵brain
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
2008-02-14Somebody *eyes a certain norwegian wannabe* defined two commands called ↵brain
WATCH... O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8934 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Keep count of the number of events in total, and seperate read, write and ↵brain
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
2008-02-14More OnRawMode fixw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Hopefully fix behaviour of OnRawModew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8931 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Change the Implementation list size from a sizeof which worked by fluke to ↵om
just having a int constant in source git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8930 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Fix timer crashes: relying on an iterator after adding to/resorting the ↵w00t
vector probably isn't bright git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8929 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14More <log> stuffaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8928 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Patch provided by danieldg for fixing 3-figure versions in configurebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8926 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Fix my compile error.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8925 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Commit patch from danieldg that makes a ton of stuff const-safe for latest ↵brain
warn-happy trigger-happy gcc4 (thanks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13This doesn't need to be inside the loop. There is only one IP for ↵w00t
(potentially) multiple ports, after all.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Slight API tweak. Change Command to take char * instead of char in it's ↵w00t
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
2008-02-12Support \* in silence flags, do the same thing as a(ll) flag.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8917 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12Add SVSWATCH command: services may issue it to modify the watch list of a ↵w00t
client. Syntax: :sender SVSWATCH user watchcraphere git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8916 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12HA, that did itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8914 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12apparently ar -s is equivalent to ranlib, except it doesnt have a fucking ↵brain
noisy non-redirectable message :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8913 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12-Wshadow fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8912 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12Backport r8910: oper quit message would be blankw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8911 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12Fix missing user->nick in m_calleridaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8908 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12-Wshadow fixes for some modules in extra/aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8907 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Add (empty) testsuite.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8904 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Fix trampling on memory in Z/G/K/ELine.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8901 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Move most of startup process to use new logging, adds target 'STARTUP'w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8900 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11-Woverloaded-virtual fixesw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8899 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Fix: Extra duplication of InspIRCd * is not necessary.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8896 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Remove many unneeded headers from spanningtree filesw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8895 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Last of the -Wshadow fixes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8894 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11More -Wshadow fixes.. not really finished yetw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8893 e03df62e-2008-0410-955e-edbf42e46eb7