aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Add reasons to other modules that implement XLines also.Gravatar w00t2008-10-283-9/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10741 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove comment, as it is now done.Gravatar w00t2008-10-281-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10740 e03df62e-2008-0410-955e-edbf42e46eb7
* Move chanprotect settings from <options> to <chanprotect>.Gravatar w00t2008-10-281-6/+6
| | | | | | | | (why were they not there in the first place?) Document <chanprotect:setprivsonothers>. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10739 e03df62e-2008-0410-955e-edbf42e46eb7
* Add option to allow +q to +q users, +a to +a users.Gravatar w00t2008-10-281-20/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10738 e03df62e-2008-0410-955e-edbf42e46eb7
* Watch visibility test was working the wrong way. Patch from Darom.Gravatar w00t2008-10-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10735 e03df62e-2008-0410-955e-edbf42e46eb7
* Add user/channel mode synchronisation detection to CAPAB - link will now ↵Gravatar w00t2008-10-271-1/+11
| | | | | | | | | | drop if modes differ in some way (one side requires param, other doesn't, etc). Same for user modes. This will not affect services. Side effect: Modes::ChanModes() -> Modes::GiveModeList(ModeMasks), mode list is formatted identically for both MASK_CHANNEL and MASK_USER. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10733 e03df62e-2008-0410-955e-edbf42e46eb7
* Be a hell of a lot more strict about malformed UID commands. We've always ↵Gravatar w00t2008-10-271-23/+16
| | | | | | been strict in the past, for some reason, we were previously very permissive about broken UID - there is no reason to be. If they're fucking up, then make them fix their problem :) (this is also a lazy man's fix to get around bad pointers/etc by deleting users outside of culllist). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10731 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix redundant stats snotice, thanks dz.Gravatar w00t2008-10-271-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10730 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove user no longer being watched, not the quitting one. Fix from Szymek ↵Gravatar w00t2008-10-271-1/+1
| | | | | | (thanks), tested by Darom. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10728 e03df62e-2008-0410-955e-edbf42e46eb7
* fix for banwalk and keys reported by mix941Gravatar peavey2008-10-261-12/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10719 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a number of commands to have max_params field. This means in practice, ↵Gravatar w00t2008-10-2511-11/+13
| | | | | | that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, ↵Gravatar w00t2008-10-252-6/+0
| | | | | | aquanight, you didn't look quite far enough into this - the problem was m_cloaking (e.g.) returning MODEACTION_DENY if src != dest, which was very very oooold behaviour. Seems to work fine now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10713 e03df62e-2008-0410-955e-edbf42e46eb7
* Use TargetTypeFlags instead of int in a few places.Gravatar w00t2008-10-253-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10711 e03df62e-2008-0410-955e-edbf42e46eb7
* As we have an enum for type, why not ..use it?Gravatar w00t2008-10-252-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10710 e03df62e-2008-0410-955e-edbf42e46eb7
* Note where to find the docs.Gravatar w00t2008-10-251-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10704 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke space indents from orbit. (die!!)Gravatar w00t2008-10-251-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10703 e03df62e-2008-0410-955e-edbf42e46eb7
* Move spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this ↵Gravatar w00t2008-10-252-6/+4
| | | | | | makes more sense, and also means we can call OnChangeHost for remote clients too, making it actually match it's documentation for the first time ever! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10702 e03df62e-2008-0410-955e-edbf42e46eb7
* Consistancy: Allow opers to +L to a nonexistant channel, as we allow opers ↵Gravatar w00t2008-10-241-2/+2
| | | | | | to bypass ops restriction. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10700 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove (redundant and O(n)) error checking on +L, we catch the errors on ↵Gravatar w00t2008-10-241-24/+17
| | | | | | | | | | | join nowdays anyway, so this was a throwback to the "old days". Also, add two new restrictions on +L: target channel must exist, and setter *must* be opped on target channel. Avoids redirect spamming and other nefarious things. Additionally, reworded numerics a bit to make it more generic, as we may forward for more than just +l in the future. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10699 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken stuff.Gravatar w00t2008-10-241-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10697 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <showwhois:showfromopers> setting, requested by MacGyver. Can be useful ↵Gravatar w00t2008-10-231-1/+5
| | | | | | if you don't want suspicious people to know you're watching them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10696 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert earlier time() -> SI->Time() diff for now, this causes problems with ↵Gravatar w00t2008-10-2315-39/+31
| | | | | | dns.cpp in mysterious ways.. seemingly a bad pointer there somehow..? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this un-rehashable due to complications/ugliness involved with keeping ↵Gravatar w00t2008-10-231-20/+8
| | | | | | it this way (still unusable, please don't use) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10694 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <showwhois:opersonly>, allows server admins to unlock umode +W use for ↵Gravatar w00t2008-10-231-14/+37
| | | | | | regular users. Users without users/auspex priv (not opered, or just not given) will see display host instead of real host always, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10693 e03df62e-2008-0410-955e-edbf42e46eb7
* Add/document channels/set-permanent priv, and tie setting of +P to it.Gravatar w00t2008-10-231-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10692 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from Namegduf converting all instances (where possible) of time() -> ↵Gravatar w00t2008-10-2314-31/+36
| | | | | | ServerInstance->Time(). Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10691 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert a number of modules to using privs.Gravatar w00t2008-10-183-3/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10676 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement channels/auspex priv for /names and /list.Gravatar w00t2008-10-182-17/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10666 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from Namegduf to use established numerics for HELPOP instead of notices.Gravatar w00t2008-10-181-6/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10659 e03df62e-2008-0410-955e-edbf42e46eb7
* Add notices on successful add or remove to callerid list.Gravatar w00t2008-10-171-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10653 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from dz for bug #620, thanks.Gravatar aquanight2008-10-171-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10652 e03df62e-2008-0410-955e-edbf42e46eb7
* Numerous fixes for m_dccallow - only the first banfile tag mattered, ↵Gravatar special2008-10-151-10/+18
| | | | | | improper behavior with no banfile tags, incorrect check for adding yourself to the dccallow list, and several cosmetic issues. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10646 e03df62e-2008-0410-955e-edbf42e46eb7
* m_ssl_openssl is sending log messages and calling itself m_ssl_gnutls..Gravatar special2008-10-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10645 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <hidechans:affectsopers>, allows networks to hide channels of a +I user ↵Gravatar w00t2008-10-151-10/+33
| | | | | | even from opers, for added privacy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10644 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove outdated TODOGravatar brain2008-10-141-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10641 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't send an override notice if no modes were actually applied, thanks Ankit.Gravatar w00t2008-10-131-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10640 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix messageflood not working (bug #615). Big thanks to dz.Gravatar w00t2008-10-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10636 e03df62e-2008-0410-955e-edbf42e46eb7
* Update comment that says we dont send simplemodes in FJOIN, we do now.Gravatar brain2008-10-101-7/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10635 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply patch from jmb, for bug #593. Snotices on override are now sent ↵Gravatar w00t2008-10-081-8/+1
| | | | | | regardless of noisy setting. Done in preparation for b2 sometime soon. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10633 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix memory leak in helpop config loading, thanks Macgyver.Gravatar w00t2008-10-081-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10631 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash caused by me being retarded.Gravatar w00t2008-10-081-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10630 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix: call OnRawSocketAccept for server connections. This isn't yet done in ↵Gravatar w00t2008-10-081-0/+2
| | | | | | an ideal fashion, but it should work for now. Fixes bug #616, reported by dz. Thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10629 e03df62e-2008-0410-955e-edbf42e46eb7
* Some more safety checks to catch out invalid client introductions (e.g. from ↵Gravatar brain2008-10-051-2/+11
| | | | | | atheme when its too old (for some reason its no longer checking the protocol ID for this)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10623 e03df62e-2008-0410-955e-edbf42e46eb7
* Header tidyups. Apart from module to module API stuff and external deps, ↵Gravatar brain2008-10-0419-74/+13
| | | | | | modules dont really need to include much but inspircd.h (and xline.h if they create new xline factories) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10622 e03df62e-2008-0410-955e-edbf42e46eb7
* We are including tons more than we need to here, its a mess :pGravatar brain2008-10-042-19/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10621 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #613 reported by Casey, m_regex_glob's parameters were back to ↵Gravatar brain2008-10-042-2/+4
| | | | | | front! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10620 e03df62e-2008-0410-955e-edbf42e46eb7
* Comments here tooGravatar brain2008-10-021-0/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10618 e03df62e-2008-0410-955e-edbf42e46eb7
* Mention ulines tooGravatar brain2008-10-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10617 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment on potentially confusing codeGravatar brain2008-10-021-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10616 e03df62e-2008-0410-955e-edbf42e46eb7
* The module hook is kinda required.Gravatar brain2008-10-023-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10615 e03df62e-2008-0410-955e-edbf42e46eb7