summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix for crash found by potter if you set up two redirects in two channels to ↵Gravatar brain2007-05-051-0/+10
| | | | | | forward the user back and forth between the two in a loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6889 e03df62e-2008-0410-955e-edbf42e46eb7
* Make debug warning for broken servers once per servername onlyGravatar brain2007-05-052-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6884 e03df62e-2008-0410-955e-edbf42e46eb7
* Add options:quietbursts, fixes bug #269, also adds support for quits in a ↵Gravatar brain2007-05-044-1/+12
| | | | | | cull list which do not generate a quit snotice git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6883 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #268, repeated messages on users who are already glinedGravatar brain2007-05-041-7/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6880 e03df62e-2008-0410-955e-edbf42e46eb7
* If an op parts, joins or kicks then display the change to all, so that the ↵Gravatar brain2007-05-041-3/+5
| | | | | | non-opped clients dont see an opped user hanging around that quit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6879 e03df62e-2008-0410-955e-edbf42e46eb7
* Add MODE nag to debug snomask +dGravatar brain2007-05-041-0/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6878 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug where if an op is in channel then does /names later, all the non-ops ↵Gravatar brain2007-05-041-0/+9
| | | | | | dissapear! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6877 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <auditorium showops> which determines if auditorium works like ircnet +a ↵Gravatar brain2007-05-042-9/+41
| | | | | | | | | (anonymous channels) or like unrealircd +u. The old behaviour is similar to anonymous channels, only showing the current user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6875 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot something important!Gravatar brain2007-05-041-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6873 e03df62e-2008-0410-955e-edbf42e46eb7
* Check visibility statesGravatar brain2007-05-041-4/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6872 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply visibility state to whois, next stop, /whoGravatar brain2007-05-041-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6869 e03df62e-2008-0410-955e-edbf42e46eb7
* Brain really must remember svn add.Gravatar brain2007-05-041-0/+246
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6868 e03df62e-2008-0410-955e-edbf42e46eb7
* Where others charge, we give for free. Have fun and use wisely. With great ↵Gravatar brain2007-05-042-3/+5
| | | | | | power comes great responsbility. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6867 e03df62e-2008-0410-955e-edbf42e46eb7
* ...And learn to spell rightGravatar brain2007-05-041-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6865 e03df62e-2008-0410-955e-edbf42e46eb7
* Do the same for KICK, but in the case of KICK, send to the user doing the ↵Gravatar brain2007-05-041-0/+5
| | | | | | kick AND the user being kicked only git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6864 e03df62e-2008-0410-955e-edbf42e46eb7
* When we silence the event, not even the user whos leaving/joining gets the ↵Gravatar brain2007-05-041-0/+10
| | | | | | output, make sure we send it to them in the module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6863 e03df62e-2008-0410-955e-edbf42e46eb7
* svn add helps, too. :<Gravatar brain2007-05-041-0/+158
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6862 e03df62e-2008-0410-955e-edbf42e46eb7
* First compilable commit of m_auditorium. Not yet tested IN ANY WAY.Gravatar brain2007-05-041-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6861 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken modules (broken due to api change)Gravatar brain2007-05-038-18/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for new apiGravatar brain2007-05-032-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6859 e03df62e-2008-0410-955e-edbf42e46eb7
* Much more detailed logging of lowlevel socket errors to the +l snomaskGravatar brain2007-05-011-17/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6856 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crashbug in latest svn introduced by inspsocket cull list, which can ↵Gravatar brain2007-05-011-0/+8
| | | | | | cause a crash if the connection times out and an error occurs on the socket before its deleted git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6855 e03df62e-2008-0410-955e-edbf42e46eb7
* squash a compile warning found by giggsey.Gravatar peavey2007-04-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6851 e03df62e-2008-0410-955e-edbf42e46eb7
* Add and document m_clones as requested by bug #267Gravatar brain2007-04-271-0/+124
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6848 e03df62e-2008-0410-955e-edbf42e46eb7
* m_dnsbl stats should count no result as a missGravatar special2007-04-271-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6847 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed bug #266 (m_dnsbl stats), patch by satmdGravatar special2007-04-261-2/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6846 e03df62e-2008-0410-955e-edbf42e46eb7
* Make error reporting work properly, it seemed to loose errors.Gravatar brain2007-04-263-26/+42
| | | | | | | | | First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN. Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7
* Added m_chancreate, which adds snomask +j to show when new channels are createdGravatar special2007-04-251-0/+78
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6837 e03df62e-2008-0410-955e-edbf42e46eb7
* Please try this, satmdGravatar brain2007-04-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6835 e03df62e-2008-0410-955e-edbf42e46eb7
* Use segments of 8 in length not ten, reducing the length of a cloaked ipv6 ↵Gravatar brain2007-04-251-2/+2
| | | | | | host by 12 chars (2*6) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6834 e03df62e-2008-0410-955e-edbf42e46eb7
* dhost and host are both char[65], so let stringcopy take up to 64 chars here.Gravatar peavey2007-04-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6833 e03df62e-2008-0410-955e-edbf42e46eb7
* Shorten the length of ipv6 cloaks so that a character isnt lost (6 segments ↵Gravatar brain2007-04-241-1/+1
| | | | | | | | | | | plus :'s means > 63), its now 5 segments plus 5 colons equalling 55. QA Please test if possible. (connect unresolving ipv6's to a network and check they display ok on join and quit and not like this:) seeboo ( seeboo@128D1B1808:B184FB403B:282A02A3AB:6949B425CE:D744031274:2587FA5 ) has quit IRC ( Client exited ) seeboo ( seeboo@128D1B1808:B184FB403B:282A02A3AB:6949B425CE:D744031274:2587FA5C ) has joined git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6832 e03df62e-2008-0410-955e-edbf42e46eb7
* update some comments.Gravatar peavey2007-04-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6830 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash if trying to remove pattern that does not exist.Gravatar peavey2007-04-221-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6829 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar brain2007-04-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6826 e03df62e-2008-0410-955e-edbf42e46eb7
* cleanup space indentingGravatar peavey2007-04-222-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6825 e03df62e-2008-0410-955e-edbf42e46eb7
* Send numeric when item doesnt exist on removeGravatar brain2007-04-222-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6824 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix memory consumption of m_slence, users silence lists arent deleted till ↵Gravatar brain2007-04-222-27/+19
| | | | | | they quit, they should be deleted when they empty their list to save ram git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6823 e03df62e-2008-0410-955e-edbf42e46eb7
* Add *** to +s SNOTICEsGravatar peavey2007-04-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6820 e03df62e-2008-0410-955e-edbf42e46eb7
* Add *** to +s SNOTICEsGravatar brain2007-04-213-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6819 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #259 proper by doing what I should have done back in r6618 when I ↵Gravatar peavey2007-04-201-1/+1
| | | | | | first fixed logout issue. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6817 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert this back to previous.Gravatar peavey2007-04-201-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6816 e03df62e-2008-0410-955e-edbf42e46eb7
* Do not add empty strings to outgoing lines. *needs testing, may break stuff*Gravatar peavey2007-04-191-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6815 e03df62e-2008-0410-955e-edbf42e46eb7
* Check some userrec values in remote whois, so that it wont crash if a user ↵Gravatar brain2007-04-191-6/+8
| | | | | | | | | has quit before the IDLE command arrives. Fixes bug #260 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6814 e03df62e-2008-0410-955e-edbf42e46eb7
* Add another trim() to outgoing metadata accountname. *needs test*Gravatar peavey2007-04-181-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6812 e03df62e-2008-0410-955e-edbf42e46eb7
* oops, overlooked a reference.Gravatar peavey2007-04-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6811 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fix for bug #259 now that Brain is RAM impaired :p *QA please test*Gravatar peavey2007-04-181-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6810 e03df62e-2008-0410-955e-edbf42e46eb7
* Added options:deprotectothers, this is like options:deprotectself, but if ↵Gravatar brain2007-04-161-11/+28
| | | | | | | | | set allows one user with +a to remove another users +a, and a user with +q to remove another users +q. Default behaviour is to turn this option off like previous versions of insp defaulted to. Thanks to Bricker for the idea and w00t not getting pissy at me :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6806 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug that took ages to track down and was very subtle.Gravatar brain2007-04-154-0/+62
| | | | | | | | | | | | | | | During authentication the flow of commands is as follows: > SERVER aaaaaa < SERVER bbbbbb > BURST < BURST ... what can happen is that between the two server commands we can introduce SERVER aaaa to server bbbbb again, from a different socket. As server aaaaa doesnt exist yet and we're waiting for it to say yes or no to our own SERVER command over at bbbbbb, it cant be found with FindServer. Therefore we need a second list of servers that arent yet authenticated, but are waiting TO authenticate, by the pointer their socket has and the name they want to become after auth. If two servers introduce themselves at the same time, triggering what was the race condition, both servers are disconnected with "ERROR :Negotiation collision" and must try again until only one succeeds. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6802 e03df62e-2008-0410-955e-edbf42e46eb7
* Working in m_filter_pcre.Gravatar brain2007-04-141-4/+8
| | | | | | | | Thanks DarkPrince (PingBad) for the idea we messed with - when a match is successful move that match to the head of the list (O(1) operation) The original suggestion was to sort, this would be far too expensive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6794 e03df62e-2008-0410-955e-edbf42e46eb7