summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix for potential crash with invalid prefixes (prefixes which are neither ↵Gravatar brain2008-11-201-0/+11
| | | | | | valid SID nor UID, but are a valid nickname, outdated protocol) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10810 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't burst expired X:, should help stop bounce wars..Gravatar w00t2008-11-161-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10808 e03df62e-2008-0410-955e-edbf42e46eb7
* Module class was still called QuitBan, rename to ConnectBan for sanityGravatar brain2008-11-081-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10799 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a log sourceGravatar brain2008-11-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10798 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix malformed UID errors so that w00t can troubleshoot! :)Gravatar brain2008-11-041-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10796 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix incorrect watch usage, patch from dz (thanks).Gravatar w00t2008-11-021-7/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10791 e03df62e-2008-0410-955e-edbf42e46eb7
* Fire every debug.Gravatar w00t2008-11-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10786 e03df62e-2008-0410-955e-edbf42e46eb7
* Obsolete m_restrictbanned, add <security:restrictbannedusers>, default on.. ↵Gravatar w00t2008-11-011-97/+0
| | | | | | this is insane to leave off, really, but allow it anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10785 e03df62e-2008-0410-955e-edbf42e46eb7
* Second attempt at time() -> SI->Time(), now problems with the original were ↵Gravatar w00t2008-11-0114-31/+36
| | | | | | | | | fixed. (SI::TIME was not initialised). Thanks Namegduf! (Please test, all, valdebug etc, report odd behaviour/warnings!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10783 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix opercert to behave correctly, patch from and tested by dz -- thanks!Gravatar w00t2008-11-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10782 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove now-unneeded 4in6 hacks [danieldg]Gravatar w00t2008-11-012-28/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10781 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge commit 'ddg/out-12'Gravatar w00t2008-11-011-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10778 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #630, reported by Jorijn, fix by dz. Bitmask dnsbl records not ↵Gravatar w00t2008-11-011-1/+1
| | | | | | working. Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10777 e03df62e-2008-0410-955e-edbf42e46eb7
* Resolve a conflict by changing override to +s +G (godmode) instead of +s +O.Gravatar w00t2008-11-011-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10775 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a result of Tired Coding (tm)Gravatar w00t2008-11-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10774 e03df62e-2008-0410-955e-edbf42e46eb7
* It is not my %$"*&%" day. This never happened.Gravatar w00t2008-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10773 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up FJOIN processing somewhat - don't bother faking a TS to get modes ↵Gravatar w00t2008-10-311-14/+23
| | | | | | accepted, just use a high technology of programming known as an "if statement". Also add generous debug to this via snomask +d, as it seems the occasional desync is occuring. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10772 e03df62e-2008-0410-955e-edbf42e46eb7
* Add REMOTEOPER snomask.. use it.Gravatar w00t2008-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10770 e03df62e-2008-0410-955e-edbf42e46eb7
* Move some messages (correctly) to remote link snomask.Gravatar w00t2008-10-311-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10769 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash.Gravatar w00t2008-10-311-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10768 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove m_services and documentation relating to it. Also remove conf/temp/ (??)Gravatar w00t2008-10-311-245/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10762 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge m_services functionality into m_services_account.Gravatar w00t2008-10-311-19/+104
| | | | | | | | | Note that +MR will only function if user has an account for tidiness, but services are now offered +r on channels and nicks to mark them as registered. This functionally means that there is no longer need for m_services. This commit also fixes a number of minor race conditions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10760 e03df62e-2008-0410-955e-edbf42e46eb7
* Add snomask +s +L - remote link notices.Gravatar w00t2008-10-315-53/+36
| | | | | | | | Can be a useful distinction for bigger networks or networks with more distinction on what people can and cannot see. This also makes RemoteMessage more match it's docs and removes useless redundancy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10759 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Remove user no longer being watched, not the quitting one. Fix from ↵Gravatar w00t2008-10-311-1/+1
| | | | | | | | | | | Szymek (thanks), tested by Darom." This reverts commit 636b4b712aecf427e1f6e48e456b9221ae53dc4e. This commit is *NOT* correct, and causes crashes, nor can I see (with review) how this is wrong... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10757 e03df62e-2008-0410-955e-edbf42e46eb7
* Better error message for erroring on loading server cert - give ↵Gravatar w00t2008-10-301-1/+1
| | | | | | certfile/keyfile in the error message. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10755 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Add option to allow +q to +q users, +a to +a users."Gravatar w00t2008-10-301-36/+18
| | | | | | | | | | | | | This reverts commit 1c035722a6083f9d625aba8e34fb1cff3895808a. This is currently broken, and I don't want it screwing up beta3... Conflicts: src/modules/m_chanprotect.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10752 e03df62e-2008-0410-955e-edbf42e46eb7
* Add +s +J - for remote channel creation. This helps m_chanlog stop being ↵Gravatar w00t2008-10-291-1/+8
| | | | | | quite so silly, and also means that opers on larger networks won't be flooded to death. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10748 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove ancient comment.Gravatar w00t2008-10-281-5/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10742 e03df62e-2008-0410-955e-edbf42e46eb7
* 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