summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-13More fixes to configure stability with undefined values/closed filehandlesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8924 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13This should fix the error owine was getting in configure (THANKS strict) :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8923 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-13CONSTIFY\!w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8920 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Fix a silly crash I caused.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8919 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-12Tidy up run-cc step displayaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8906 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-11Add -Woverloaded-virtual (fixes to follow)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8898 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
2008-02-11Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ↵w00t
note to webirc that needs looking at. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Tidy up run-cc error reporting (eg: only say 'An error occured' once, and ↵aquanight
make it show before an include stack or 'In ctor/dtor/method/function' message) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Fix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to ↵brain
be set with /D on the commandline, but it looks like this is the best place to put it in an include (earliest possible place) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8890 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Fix m_chanlog crashing.aquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8887 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Brainfartbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8886 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Code for loading <log method=file> tags from config, but this still needs to ↵aquanight
be fit into the config reader stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8885 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Fix case sensitivitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8884 e03df62e-2008-0410-955e-edbf42e46eb7