summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-05-12The commit that should have been r7000: src/modules now uses IS_OPER instead ↵w00t
of not so tidy char equivilant git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7001 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Opers cannot change the modes of others, and on this module, it's a ↵w00t
reeeeeeeeeeeal bad idea. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6999 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Opers cannot change the modes of others.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6998 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Change to IS_OPER, also modify to use short circuit evaluation (simple char ↵w00t
check is quicker than ReadFlag no doubt) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6997 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Opers cannot change the modes of others. (In retrospect, a mass commit of ↵w00t
these would have been better, but I'm working on another mass commit.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6996 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Opers cannot change the modes of others.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6995 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Small thing, but check for IS_OPER(source) too, just in case someone crazy ↵w00t
writes a module that lets users kill people. I'm not sure what would happen here otherwise. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6994 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Opers cannot change the modes of othersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6993 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Opers cannot change the modes of othersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6992 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12This catch doesn't need to be here. :ow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6991 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12We've had an IS_OPER macro for a long time. About time we started using it, ↵w00t
maybe? :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6990 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Fix compile error.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6989 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Make this use SendError rather than rolling it's own. Fun fact: this notice ↵w00t
was always broken, as it send the nick, user, host of the oper it was *sending* to, not the nuh of the oper issuing the die. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6988 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-12Remove the char junk here, use an std::stringw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6987 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Make sure we always use the correct index for the nickname (thanks djGrr)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6986 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Remove some stuff deprecated since 1.0w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6985 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Allow removal of client ports from the config file via rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6984 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Thou shalt test compile before committing :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6983 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Refactor port binding, warning not yet tested fullybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6982 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11(Pretend the last commit never happened.)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6981 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Change the text of the 461 on invalid ident. Technically, this is correct, ↵w00t
but nobody else respects this. Also, the numeric is the important bit, not the text. Now a little more nub friendly. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6980 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11One of my XXXs done, tidy logic in herew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6979 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Last commit of that batch: Fix some returncodes (some stuff here really ↵w00t
didn't need to be routed), clarify a few in comments, and also add some todos for myself next. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6978 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Yes, and here too. I want these in seperatly so I can roll them back if I ↵w00t
screwed up (somehow) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6977 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Logic cleanup here too.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6976 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Opers haven't been able to change the modes of others since 1.0.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6975 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Clear up logic a little here, check error conditions at the top, succeed at ↵w00t
the bottom. Little neater :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6974 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Make the same (r6972) fix here.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6973 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Remove duplication of conf loading code here. Just call rehash in ↵w00t
constructor quietly, like normal. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6972 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Fix a slightly out of date comment (from before the days of the self ↵w00t
commenting IS_LOCAL :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6971 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Add <watch maxentries> and <silence maxentries>brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6969 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Attach ident and original username to the metadata of the user, so that it ↵brain
can be retrieved with /taxonomy. Fixes feature request/bug #285. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6968 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Add m_taxonomy and api minor tweak to make it work, enable some modules for it.brain
I have higher aims for this module, namely a neat fix for feature request in bug #285 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6967 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Patch by djGrrr to WHOIS to fix up another potential information leak, now ↵w00t
remote and local whois work the same way really :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6966 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Remove redundant if (), pointed out by djGrrr.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6965 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Much thanks to djGrrr for being helpful. Give this a go.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6964 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10FIX: Don't show time for remote clients on /whois nickw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6963 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10I got very confused here.. let's fix thisw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6962 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Clarify some of the comments here..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6961 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10(will be tested like nowish): Modified version of djGrrr's patch to re-fix #286.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6960 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10I can do coding, me!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6959 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Slightly modify WHO <port> p to allow a port range, e.g. "WHO ↵brain
6660-6669,7000,7001 p" would find all users on ports 6660 thru 6669, 7000 and 7001. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6958 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Change some stuff around to make sure metadata/fmode comes after nick list ↵brain
if sent by modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6957 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10remove EB metadata madness and make services people happy.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6956 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Fix for bug #281, oper fail notices should be globalbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6955 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Add HiroP to contributors for being such a helpful little gubbins ;>. ↵w00t
Congradulations. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6954 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Remove pointless debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6951 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Remove a large portion of commented craq, and make this fit in better with ↵w00t
the rest of the source (braces on individual lines etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6950 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Update this to use the new copyright headerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6949 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10Add <stripcolor:allowchanops> to allow channel operators to bypass color ↵w00t
stripping. Defaults to off. Added to example config. Closes bug #288 :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6948 e03df62e-2008-0410-955e-edbf42e46eb7