summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t ↵Gravatar brain2006-11-121-0/+19
| | | | | | | | | set this side, explicitly put -n or -t into the mode string. This is because the other side will ass-u-me +nt set because this is the default. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5719 e03df62e-2008-0410-955e-edbf42e46eb7
* If a new channel is created, after sending the FJOIN for the first user in, ↵Gravatar brain2006-11-121-0/+8
| | | | | | send an FMODE #chan <ts> +nt, to sync the +nt on all remote servers explicitly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5718 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a notice that all people bumping the protocol version should edit a ↵Gravatar brain2006-11-121-0/+6
| | | | | | | | | | | | | page in the wiki: * IMPORTANT: If you make changes, document your changes here, without fail: * http://www.inspircd.org/wiki/List_of_protocol_changes_between_versions * * Failure to document your protocol changes will result in a painfully * painful death by pain. You have been warned. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5716 e03df62e-2008-0410-955e-edbf42e46eb7
* Protocl-Version bump to 1102Gravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5715 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, using wrong paramGravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5714 e03df62e-2008-0410-955e-edbf42e46eb7
* More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICEGravatar brain2006-11-121-0/+38
| | | | | | | (OPERNOTICE can be considered to be "MODENOTICE os", but it saves bandwidth and cpu to send OPERNOTICE where possible) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5713 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, stuff in the wrong placeGravatar brain2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5712 e03df62e-2008-0410-955e-edbf42e46eb7
* And change < 64 to <= 64, the length limit is 64 - not 63Gravatar om2006-11-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5711 e03df62e-2008-0410-955e-edbf42e46eb7
* Make OPERNOTICE work rightGravatar brain2006-11-122-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5710 e03df62e-2008-0410-955e-edbf42e46eb7
* Add send_opers event and OPERNOTICE command to send remote server NOTICEGravatar brain2006-11-122-1/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5708 e03df62e-2008-0410-955e-edbf42e46eb7
* Yes, we do want to propogate the server modeGravatar brain2006-11-121-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5707 e03df62e-2008-0410-955e-edbf42e46eb7
* Notice back to oper on invalid SAMODEGravatar brain2006-11-121-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5706 e03df62e-2008-0410-955e-edbf42e46eb7
* Needs testing: SAMODE doesnt send the actual SAMODE text any more, instead ↵Gravatar brain2006-11-121-1/+15
| | | | | | it sends a server-origin MODE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5705 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow normal MODE from a server prefixGravatar brain2006-11-121-0/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5704 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont propogate failed mode changesGravatar brain2006-11-121-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5703 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_restrictbanned.so, disalows banned users on a channel from messaging ↵Gravatar w00t2006-11-121-0/+133
| | | | | | the channel, changing nick, or changing the topic, if loaded. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5701 e03df62e-2008-0410-955e-edbf42e46eb7
* Eliminate two trivial compile warnings pointed out by a few peopleGravatar brain2006-11-111-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5697 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont allow overlapped ports in these filesGravatar brain2006-11-113-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5695 e03df62e-2008-0410-955e-edbf42e46eb7
* Add irc::portparser, a class to parse port ranges in the form ↵Gravatar brain2006-11-113-135/+29
| | | | | | | | | "6660,6661,6662-6669,7000". Needs testing, watch next few commits. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5690 e03df62e-2008-0410-955e-edbf42e46eb7
* Make these properly detect port ranges.Gravatar brain2006-11-112-19/+91
| | | | | | | TODO: Make a port range parser class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5689 e03df62e-2008-0410-955e-edbf42e46eb7
* Support hybrid-style port ranges in spanningtree, tooGravatar brain2006-11-111-17/+61
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5687 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve quit messages caused by filtering, now prefixed by "Filtered: "Gravatar brain2006-11-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5682 e03df62e-2008-0410-955e-edbf42e46eb7
* Also dont try and filter remote users. This is ick.Gravatar brain2006-11-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5681 e03df62e-2008-0410-955e-edbf42e46eb7
* Filtering should leave ulines alone, and not filter uline notices.Gravatar brain2006-11-101-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5680 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fix for patch #166 (this is a reasonably big one)Gravatar brain2006-11-104-14/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement a change for bug #171. It might not be pretty in the /list output, ↵Gravatar brain2006-11-101-1/+13
| | | | | | but the rfc DOES say we must do something like this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5678 e03df62e-2008-0410-955e-edbf42e46eb7
* These should now be VF_COMMON, they sync dataGravatar brain2006-11-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5677 e03df62e-2008-0410-955e-edbf42e46eb7
* Make /stats s more detailed, fix a grammar errorGravatar brain2006-11-103-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5676 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, make /stats s workGravatar brain2006-11-103-8/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5675 e03df62e-2008-0410-955e-edbf42e46eb7
* Add /stats sGravatar brain2006-11-103-2/+37
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5674 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, fix crashGravatar brain2006-11-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5673 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, properly handle rehash now that new filters might be added by /FILTERGravatar brain2006-11-102-11/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5672 e03df62e-2008-0410-955e-edbf42e46eb7
* Document changes to m_filter and m_filter_pcre a little.Gravatar brain2006-11-101-1/+1
| | | | | | | Actually add the metadata stuff to Implements() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5670 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement on-burst synching of filtersGravatar brain2006-11-103-5/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5669 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, forgot command source, these wouldnt be able to be unloaded properlyGravatar brain2006-11-103-11/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5668 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement the /filter command. Note that this is currently untested, and ↵Gravatar brain2006-11-103-58/+219
| | | | | | propogation of filters between servers on burst isnt implemented yet (This is next on my todo) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5667 e03df62e-2008-0410-955e-edbf42e46eb7
* Add gline type, and <filter:duration> value to say how long to ban for.Gravatar brain2006-11-104-27/+54
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5666 e03df62e-2008-0410-955e-edbf42e46eb7
* Inherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so ↵Gravatar brain2006-11-103-152/+140
| | | | | | that changes for /filter command and gline actions etc only need to be made in one place (the base classes header) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5665 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed broken syncing for glines and elines using idents - thanks to ↵Gravatar special2006-11-061-4/+4
| | | | | | dotslasher for finding and peaveydk for finding the fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5661 e03df62e-2008-0410-955e-edbf42e46eb7
* Modified the server-to-server TIME command to report the real time (without ↵Gravatar special2006-11-052-4/+7
| | | | | | delta), and display the delta in the output from m_alltime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5657 e03df62e-2008-0410-955e-edbf42e46eb7
* Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the ↵Gravatar special2006-11-051-2/+2
| | | | | | pedantic brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5651 e03df62e-2008-0410-955e-edbf42e46eb7
* Added the <options:notimesync> flag to disable time syncingGravatar special2006-11-051-4/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5650 e03df62e-2008-0410-955e-edbf42e46eb7
* Added time syncing! This is fairly simple - servers exchange timestamps and ↵Gravatar special2006-11-051-16/+111
| | | | | | use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7
* one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the ↵Gravatar brain2006-11-041-1/+2
| | | | | | debug log git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5648 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed at last.Gravatar brain2006-11-031-11/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5640 e03df62e-2008-0410-955e-edbf42e46eb7
* Ive been unable to commit this since 9am, somehow port 22 is unusable at ↵Gravatar brain2006-11-031-4/+0
| | | | | | work now, even though we need to use it... damn cable and witless. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5639 e03df62e-2008-0410-955e-edbf42e46eb7
* Took out a header we needed to keep. Im done stick a fork in meGravatar brain2006-11-031-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5638 e03df62e-2008-0410-955e-edbf42e46eb7
* Hmm, svn said there was a conflict here, but nobody had committed :/Gravatar brain2006-11-031-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5637 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert special's sqloper change, nice try but only half a biscuit.Gravatar brain2006-11-031-7/+30
| | | | | | | | | | | With the old fix, it would echo out all the oper failure notices first then try again, annoying all the opers. The new version uses a CommandParser method i added, to again use OnPreCommand, halt the /oper command, but after doing the sql lookup call the original handler of the OPER command with the original user and pass, so the original handler handles the definitive failure message. DAMNIT STOP COMMITTING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5636 e03df62e-2008-0410-955e-edbf42e46eb7
* Switched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the ↵Gravatar special2006-11-031-12/+4
| | | | | | config tags are checked before MySQL git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5635 e03df62e-2008-0410-955e-edbf42e46eb7