| Commit message (Expand) | Author | Age | Files | Lines |
| * | Rewrite BufferedSocket::BindAddr to actually make sense, and not infinite loo...•••Seems to work okay on an invalid bind and nonexistant bind.. Fixes bug #754, reported by HiroP and Indoril.
Fix FD leak in some circumstances: if bind fails hard (requested address couldn't be bound), Close() the socket. Also fixes a deficiency of the previous commit in that if one address failed to bind, the FD would be invalidated.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11189 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2009-03-09 | 1 | -0/+4 |
| * | Include explicit parameter list in ProtocolInterface::SendMode•••Also leave the strings split into deque, there's no need to pack it into a
string just to unpack it during the translate.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11181 e03df62e-2008-0410-955e-edbf42e46eb7
| danieldg | 2009-03-07 | 6 | -11/+16 |
| * | Construct explicit parameter type list for MODE parameters•••Previously, we used TR_SPACENICKLIST on the parameters. This worked only because
usually, if anything in the list parsed as a nick, then it was a nick. However,
some modes like +k and +g allow free-form text, which could also resolve as a
nick. Add extra parameters to allow modes to specify their TranslateType,
defaulting to TR_TEXT.
This fixes bug #757, found by Taros
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11180 e03df62e-2008-0410-955e-edbf42e46eb7
| danieldg | 2009-03-06 | 5 | -7/+22 |
| * | Remove redundant PriorityState, enum Priority does the exact same thing.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2009-02-16 | 1 | -13/+2 |
| * | Add missing header #define assuring its only included once where needed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11106 e03df62e-2008-0410-955e-edbf42e46eb7
| peavey | 2009-02-14 | 1 | -0/+5 |
| * | Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
| peavey | 2009-02-14 | 19 | -128/+112 |
| * | Add security:genericoper as requested by Strawberry and TwinShadow.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11098 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2009-02-13 | 1 | -0/+6 |
| * | Fix some stuff for nationalchars•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11058 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2009-02-08 | 1 | -1/+1 |
| * | Patch for bug #704 by Darom, allows for 64 bit file offsets, so that signal 2...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11035 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2009-02-06 | 1 | -0/+5 |
| * | Fix the poll socketengine to actually work.•••The old implementation tried to use holes for unused entries in the array for
poll() and the OS replied with POLLNVAL to which we replied with 100% CPU.
Improvements:
- It does compile!
- It works
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11008 e03df62e-2008-0410-955e-edbf42e46eb7
| psychon | 2009-01-27 | 1 | -0/+4 |
| * | fix typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10995 e03df62e-2008-0410-955e-edbf42e46eb7
| peavey | 2009-01-24 | 1 | -2/+1 |
| * | Templateise this•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10991 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2009-01-23 | 1 | -1/+22 |
| * | Fix m_nationalchars using a copy and paste of my unsafe copy and paste algori...•••Finally make this function a core utility function and remove the copies from 3 modules m_alias m_nationalchars and m_sqlauth
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10990 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2009-01-23 | 1 | -0/+2 |
| * | Remove an unused event.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10989 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2009-01-23 | 1 | -14/+1 |
| * | Fix bug 688, reported by Ankit: extended invexes don't work correctly at all....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10988 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2009-01-23 | 1 | -1/+12 |
| * | Remove channel::created as its unused and only serves to confuse (see last co...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10955 e03df62e-2008-0410-955e-edbf42e46eb7
| peavey | 2009-01-09 | 1 | -11/+6 |
| * | Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2009-01-02 | 112 | -112/+112 |
| * | Change a few bits to use std::list instead of std::vector.•••Vector is better than list, unless:
- you require random access (these don't)
- you require that the memory they are stored in are contiguous (these don't)
This will save a couple of bytes here and there perhaps (along with
much less problems with memory fragmentation and allocation).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10923 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-28 | 3 | -3/+4 |
| * | Minor documentation fix, spotted by Johannes13•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10902 e03df62e-2008-0410-955e-edbf42e46eb7
| dz | 2008-12-21 | 1 | -1/+1 |
| * | Remove numbers from these. They shouldn't be used anyway, enums are designed ...•••Thanks Johannes13!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10895 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-15 | 1 | -9/+9 |
| * | Fix naming convention to be consistant. (cmd_ -> Command)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-15 | 1 | -2/+2 |
| * | national_case_sensitive_map -> national_case_insensitive_map.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10861 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-07 | 1 | -1/+1 |
| * | Move stuff to use ASCII map where required.•••Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-07 | 2 | -8/+8 |
| * | national_case_sensitive_map must be static, thanks to the match stuff being s...•••Default to national charset map instead of rfc map, as modules may change the pointer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10857 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-07 | 1 | -1/+1 |
| * | Add InspIRCd::national_case_sensitive_map pointer, defaults to rfc_case_insen...•••Modules may override this pointer to customise casemapping of nick/channel names.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10856 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-07 | 1 | -0/+8 |
| * | Add ascii_case_insensitive_map, thanks MacGyver.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10854 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-07 | 1 | -2/+22 |
| * | Rename case_sensitive_map to rfc_case_sensitive_map•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10851 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-07 | 1 | -1/+1 |
| * | Rip flood/threshold out of config classes also.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10839 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-01 | 1 | -40/+18 |
| * | Remove lines_in and reset_due flood protection mechanism, recvq/sendq on thei...•••This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10838 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-01 | 1 | -8/+0 |
| * | Remove m_operflood, add privs: users/flood/no-throttle & users/flood/increase...•••This also saves another sizeof(bool) per user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-01 | 1 | -4/+0 |
| * | Remove OverPenalty, saves sizeof(bool) per user.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-12-01 | 1 | -4/+0 |
| * | Thread safety fixes to avoid crashes on rehash, dont reopen logs within the r...•••muppetry.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10811 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2008-11-22 | 1 | -3/+5 |
| * | This was never supposed to be invoked on /rehash, only startup.. so move it t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10792 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-11-02 | 1 | -4/+1 |
| * | Obsolete m_restrictbanned, add <security:restrictbannedusers>, default on.. t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10785 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-11-01 | 1 | -0/+5 |
| * | Second attempt at time() -> SI->Time(), now problems with the original were f...•••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
| w00t | 2008-11-01 | 2 | -5/+5 |
| * | Simulate AF_INET addresses for 4in6 connections [danieldg]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10779 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-11-01 | 1 | -1/+1 |
| * | Remove one (now unneeded) 4in6 hack.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10744 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-28 | 1 | -1/+1 |
| * | Add user/channel mode synchronisation detection to CAPAB - link will now drop...•••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
| w00t | 2008-10-27 | 1 | -2/+7 |
| * | Fix a number of commands to have max_params field. This means in practice, th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 5 | -5/+5 |
| * | Add optional max_params for commands, which means that we can compress 'extra...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10715 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 2 | -3/+27 |
| * | Use TargetTypeFlags instead of int in a few places.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10711 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -2/+2 |
| * | As we have an enum for type, why not ..use it?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10710 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -1/+1 |
| * | Last of documentation for protocol interface. XXX, ProtocolInterface::GetServ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10709 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -0/+37 |
| * | Document SendMode.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10708 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -1/+6 |
| * | Document SendTopic.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10707 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -0/+4 |
| * | Document SendMetaData.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10706 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -1/+7 |
| * | Document ENCAP.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10705 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -0/+6 |
| * | (sort of..) Revert commit 7736e920fe6ccaf9ad1984afc70db19efd4fb8cd - remove d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10701 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-25 | 1 | -5/+19 |
| * | Revert earlier time() -> SI->Time() diff for now, this causes problems with d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-23 | 2 | -5/+5 |
| * | Patch from Namegduf converting all instances (where possible) of time() -> Se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10691 e03df62e-2008-0410-955e-edbf42e46eb7
| w00t | 2008-10-23 | 2 | -5/+5 |