summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2007-04-15Whoooooooooooooooooooops. Forgot to initialize a varaible, so wether insp ↵brain
starts up or not is random :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6801 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-15Add --version parameter to the binary bin/inspircd, i remember someone ↵brain
requesting this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6800 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-15Add tweaks to support feature request in bug #256, now awaiting QA testbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6799 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-15Feature request outlined in bug #257, allow connect/allow lines by portbrain
Needs QA test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6798 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-15Report the correct MAXMODES valuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6796 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Don't send SYNTAX to clients which havent registered fully yet. Nothing says ↵brain
we cant but its a bit 'odd' and may break something git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6795 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Working in m_filter_pcre.brain
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
2007-04-14Add move-match-to-head-of-queue stuff to pcre filterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6793 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Working for m_filter, needs implementing in m_filter_pcrebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6792 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Some tweaks suggested by pingbad, dont use yet :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6791 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Add a pair of curly braces because gcc will whine otherwise about ↵brain
declaration of a variable within a case statement git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6790 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-14Find out from the commit notices that we're still using ctime() here and ↵brain
should be using InspIRCd::TimeStr (ick) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6789 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-12Dont use send_mode_explicit protocol call, use send_mode, which doesnt try ↵brain
and force the mode through via non-FMODE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6788 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09The hmac stuff was slightly wrong, calculating the 2nd partbrain
left a concatenation outside the bracket git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6787 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09D'oh, this is what causes it to randomly not allow the HMAC, when theres an ↵brain
= in the string, it borks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6786 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09And spell it right.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6785 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Minor change, easy to roll back if it fucks upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6784 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Whoopsiebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6783 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Wait longer before sending data on the connect than on the acceptbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6782 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Revertbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6781 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Test tweak to make it sync fasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6780 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Different way of generating random stringbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6779 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Give information in snomask +l to what type of auth was usedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6778 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Handle non-hmac servers smarter without having to globally turn off hmacbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6777 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Add config <options:disablehmac> to support disabling of HMAC, and tidy up ↵brain
to detect if the other side hasnt got it enabled and we did, or if we enabled it and dont have sha256 (that would be an oops) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6776 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Remove debug: This now works!brain
WARNING: I have no idea how this will react to being linked to a past version without HMAC-challenge-response.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6775 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09I think we're almost there nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6774 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09More fucking aroundbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6773 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09This is likely fucked up beyond all recognition. Today is fubar day :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6772 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-09Debug, and we seem to be sending capab twicebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6771 e03df62e-2008-0410-955e-edbf42e46eb7