summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-05-04Do the same for KICK, but in the case of KICK, send to the user doing the ↵brain
kick AND the user being kicked only git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6864 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04When we silence the event, not even the user whos leaving/joining gets the ↵brain
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
2007-05-04svn add helps, too. :<brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6862 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04First compilable commit of m_auditorium. Not yet tested IN ANY WAY.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6861 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix broken modules (broken due to api change)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix for new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6859 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03DO NOT USE THIS COMMIT - if you do, most of the modules wont work.brain
DEVS: Please fix all modules that have warnings to use the new parameters to OnUserJoin, OnUserPart and OnUserKick (bool &silent) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6858 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Implement feature request in bug #271 by HiroP, allow disabling of maxlocal ↵brain
and maxglobal by leaving out each value from the tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6857 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Much more detailed logging of lowlevel socket errors to the +l snomaskbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6856 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Fix crashbug in latest svn introduced by inspsocket cull list, which can ↵brain
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
2007-05-01Change a return NULL to a continue so that where host matches but port ↵brain
doesnt, skip the connect tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6854 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-01Move new listmode check deeper into the mode parser so that it doesnt ↵brain
generate spurious craq (thanks HiroP_) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6853 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-30Fix one issue, add another feature: When sending MODE +beI, weed out ↵brain
duplicates with simple O(1) check so that users dont send MODE #chan +bbbbbbbbbbbb. Allow configuration of which listmodes you want to deny to below halfops. For example <options hidemodes="eI">. This is because blocking +b can break mirc, blocking +eI usually wont break it so severely. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6852 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-28squash a compile warning found by giggsey.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6851 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27Add support for hiding listmode lists such as +beI from unprivileged users.brain
See bug #258 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6849 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27Add and document m_clones as requested by bug #267brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6848 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27m_dnsbl stats should count no result as a missspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6847 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26Fixed bug #266 (m_dnsbl stats), patch by satmdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6846 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26When running in nofork, keep the tty open (we were closing it, which meant ↵brain
that while we were in -nofork we would see no logs!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6845 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26Make error reporting work properly, it seemed to loose errors.brain
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
2007-04-25Added m_chancreate, which adds snomask +j to show when new channels are createdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6837 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25Please try this, satmdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6835 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25Use segments of 8 in length not ten, reducing the length of a cloaked ipv6 ↵brain
host by 12 chars (2*6) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6834 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-25dhost and host are both char[65], so let stringcopy take up to 64 chars here.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6833 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-24Shorten the length of ipv6 cloaks so that a character isnt lost (6 segments ↵brain
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
2007-04-24version 1.1.6+DevilsDancepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6831 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22update some comments.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6830 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Fix crash if trying to remove pattern that does not exist.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6829 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22The devil's dancing :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6827 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6826 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22cleanup space indentingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6825 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Send numeric when item doesnt exist on removebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6824 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-22Fix memory consumption of m_slence, users silence lists arent deleted till ↵brain
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
2007-04-21Ensure it cant happen the other way around, eitherbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6822 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-21Fix spurious 'found host' messages after being told it couldnt.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6821 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-21Add *** to +s SNOTICEspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6820 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-21Add *** to +s SNOTICEsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6819 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-20Fix for "hanging" when controlling terminal is not a tty (nofork check and ↵brain
isatty checks lumped together by mistake) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6818 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-20Fix bug #259 proper by doing what I should have done back in r6618 when I ↵peavey
first fixed logout issue. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6817 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-20Revert this back to previous.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6816 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-19Do not add empty strings to outgoing lines. *needs testing, may break stuff*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6815 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-19Check some userrec values in remote whois, so that it wont crash if a user ↵brain
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
2007-04-19Fix for bug #261 - Needs QA'ing.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6813 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-18Add another trim() to outgoing metadata accountname. *needs test*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6812 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-18oops, overlooked a reference.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6811 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-18Add fix for bug #259 now that Brain is RAM impaired :p *QA please test*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6810 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-18Add trim() to hashcomp to trail leading and traling spaces from std::stringspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6809 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-16Added options:deprotectothers, this is like options:deprotectself, but if ↵brain
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
2007-04-16Fix the restart stuff that bricker noticed while testing an feature requestbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6804 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-15Fix for bug that took ages to track down and was very subtle.brain
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