summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Convert necessary match calls to use ASCII casemap.Gravatar w00t2008-12-079-10/+10
| | | | | | 1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10859 e03df62e-2008-0410-955e-edbf42e46eb7
* Switch some stuff to use ASCII mapping rather than RFC.Gravatar w00t2008-12-071-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10855 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename case_sensitive_map to rfc_case_sensitive_mapGravatar w00t2008-12-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10851 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove m_operflood, add privs: users/flood/no-throttle & ↵Gravatar w00t2008-12-011-41/+0
| | | | | | | | users/flood/increased-buffers. This also saves another sizeof(bool) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused variable (thanks to everyone who noticed it)Gravatar w00t2008-11-301-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10835 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't append server name to kill reasons.Gravatar w00t2008-11-271-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10833 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward-port: Created commit fcadb0b: Change rm to force removal for ↵Gravatar w00t2008-11-271-0/+11
| | | | | | configureclean target, obsoletes debian patch. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10829 e03df62e-2008-0410-955e-edbf42e46eb7
* Add OperPrefixMode::GetPrefixRank(), so +y is ranked above all other prefix ↵Gravatar w00t2008-11-241-0/+5
| | | | | | modes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10825 e03df62e-2008-0410-955e-edbf42e46eb7
* Off-by-one without a rehash event, causes cores on loadGravatar w00t2008-11-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10823 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_operprefix, more simplified version of module written by Phoenix ↵Gravatar w00t2008-11-241-0/+223
| | | | | | (thanks!). Adds cmode +y, set on-join which grants opers an optional prefix status on the channel. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10822 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't check permission to +Q for remote users, probably fixes bug #619 ↵Gravatar w00t2008-11-241-10/+13
| | | | | | reported by yell0w. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10821 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crashes in m_joinflood and m_nickflood, found by Schitz0, introduced by ↵Gravatar w00t2008-11-243-16/+11
| | | | | | commit f123b4f0081360e96dad620e5a143f983c1f3a04 (time()) conversion - the settings classes had pointers that were *never* initialised... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10819 e03df62e-2008-0410-955e-edbf42e46eb7
* 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