summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 1.2.0rc2+PepperSteik v1.2.0rc2Gravatar w00t2009-03-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11199 e03df62e-2008-0410-955e-edbf42e46eb7
* Apparantly someone can't figure out which index to check. Fixes CHGHOST with ↵Gravatar w00t2009-03-101-1/+1
| | | | | | blank hosts, thanks Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11196 e03df62e-2008-0410-955e-edbf42e46eb7
* Push password comparison logic into ComparePass, fixes authentication bug ↵Gravatar danieldg2009-03-102-13/+7
| | | | | | noticed by HiroP git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11195 e03df62e-2008-0410-955e-edbf42e46eb7
* Quiet bursts for uplinks, suggested by HiroP, thanks!Gravatar brain2009-03-104-9/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11194 e03df62e-2008-0410-955e-edbf42e46eb7
* Flush snotices instantly on send (disable queueing) - in it's present form, ↵Gravatar w00t2009-03-091-0/+2
| | | | | | it appears it annoys OCD opers. Will be reintroduced to be less irritating in future. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11193 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Taros to regular contributors list, too.Gravatar w00t2009-03-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11192 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #751 (wallops are not being processed remotely), reported by Taros.Gravatar w00t2009-03-091-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11191 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #764 (/stats i outputs numerics with uppercase I), reported by ↵Gravatar w00t2009-03-091-1/+1
| | | | | | KingTarquin, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11190 e03df62e-2008-0410-955e-edbf42e46eb7
* Rewrite BufferedSocket::BindAddr to actually make sense, and not infinite ↵Gravatar w00t2009-03-091-61/+86
| | | | | | | | | | loop under some conditions, etc. This also splits a lot of it into DoBindMagic(), for readability. 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
* An FJOIN is not bursting unless the source server is burstingGravatar danieldg2009-03-091-1/+1
| | | | | | Fixes bug #755 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11188 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly fill LastParseParams on servermode. Fixes bug 763, thanks AnkitGravatar danieldg2009-03-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11187 e03df62e-2008-0410-955e-edbf42e46eb7
* m_override: fix messages on multi-mode changesGravatar danieldg2009-03-082-105/+95
| | | | | | This fixes bug 664 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11186 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix +k for realGravatar danieldg2009-03-071-8/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11185 e03df62e-2008-0410-955e-edbf42e46eb7
* Let's try that +k fix again, this time with more testingGravatar danieldg2009-03-071-7/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11184 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some unneeded debug messages on the common case of FJOINGravatar danieldg2009-03-071-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11183 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix r11178 not allowing keys to be unsetGravatar danieldg2009-03-071-28/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11182 e03df62e-2008-0410-955e-edbf42e46eb7
* Include explicit parameter list in ProtocolInterface::SendModeGravatar danieldg2009-03-079-43/+37
| | | | | | | 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
* Construct explicit parameter type list for MODE parametersGravatar danieldg2009-03-0610-59/+70
| | | | | | | | | | | | 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
* Send SVSNICKs during nick collision to prevent servers that do not fully ↵Gravatar danieldg2009-03-063-24/+35
| | | | | | implement collisions from killing users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11179 e03df62e-2008-0410-955e-edbf42e46eb7
* Drop channel keys if they are identical to the already-set key (fix for bug ↵Gravatar w00t2009-03-061-0/+5
| | | | | | #756, reported by Taros) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11178 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix number of events in noctcp, so 'C' is shown in EXTBAN= 005 token, fixes ↵Gravatar w00t2009-03-061-1/+1
| | | | | | bug #758 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11177 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix +g notices going to remote users. Fixes bug #749, reported by Taros.Gravatar w00t2009-03-061-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11176 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert helpop to use a ModeHandler base rather than a ↵Gravatar w00t2009-03-061-2/+24
| | | | | | SimpleUserModeHandler, users should not be able to set +h. Fixes #750, reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11175 e03df62e-2008-0410-955e-edbf42e46eb7
* m_sakick needs to be marked VF_COMMONGravatar danieldg2009-03-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11174 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix delayjoin adding an extra @ prefix modeGravatar danieldg2009-03-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11172 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash when services (or a misbehaving remote server) introduces a server ↵Gravatar danieldg2009-03-054-54/+35
| | | | | | with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
* delayjoin: Remove broken check for channel ops, use ModeHandler parameter ↵Gravatar danieldg2009-03-041-26/+15
| | | | | | instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11169 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up delayjoin extension behaviorGravatar danieldg2009-03-041-31/+40
| | | | | | | | There were a number of cases where delayjoin left stale metadata attached to a user, which wastes memory. Also, the quit message of a users in a +D channel could not be seen because of the emulated PART. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11168 e03df62e-2008-0410-955e-edbf42e46eb7
* Restrict some /WHO options to opersGravatar danieldg2009-03-031-4/+8
| | | | | | | | | There is no reason to be able to query the umodes of other users or the port they connected on; this can contain private information. If HideWhoisServer is on, also restrict local/far query. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11164 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Don't apply channel modes received in an non-burst, non-creation ↵Gravatar danieldg2009-03-021-19/+5
| | | | | | | | | | | | | FJOIN, because they could be out of date" This keeps the protocol closer to TS6 behavior. The mode sync in the FJOIN is used to resync channel modes after a desync caused by modes crossing on the wire. In the future, an alternate join command will be used to prevent MODExJOIN desync without rejecting modes from an FJOIN. This reverts commit 4820e6bb9578e53ea1553070108599349d0ffbcb. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11163 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't apply channel modes received in an non-burst, non-creation FJOIN, ↵Gravatar danieldg2009-03-021-5/+19
| | | | | | because they could be out of date git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11162 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix +P channels being deleted when the final user /QUITs, thanks SnoFoxGravatar danieldg2009-03-021-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11161 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a crash in m_conn_waitpong, spotted by Obi_Wan.Gravatar dz2009-03-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11159 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert r10640, it blocked override notices unless they contained an op/deop/etcGravatar danieldg2009-02-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11158 e03df62e-2008-0410-955e-edbf42e46eb7
* Add more information to /CHECK outputGravatar danieldg2009-02-271-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11157 e03df62e-2008-0410-955e-edbf42e46eb7
* [Taros] Add m_sakick.soGravatar danieldg2009-02-271-0/+124
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11156 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix SID-sourced KILL being displayed to killee as from SID not from server nameGravatar danieldg2009-02-271-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11155 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix previous module mismatch message; "remote" is misleading when sent as an ↵Gravatar danieldg2009-02-271-8/+9
| | | | | | ERROR git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11154 e03df62e-2008-0410-955e-edbf42e46eb7
* Add VF_COMMON to all modules that provide an extbanGravatar danieldg2009-02-257-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11153 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_COMMON from m_banredirect, it only adds an extbanGravatar danieldg2009-02-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11152 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarify CMD_LOCALONLY return values for /WATCHGravatar danieldg2009-02-251-8/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11151 e03df62e-2008-0410-955e-edbf42e46eb7
* m_customtitle: Don't route TITLE command, route metadata onlyGravatar danieldg2009-02-251-17/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11150 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow accountname to be changed without an explicit unsetGravatar danieldg2009-02-251-27/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11149 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarify module mismatch messageGravatar danieldg2009-02-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11148 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow non-opers to use /MKPASSWDGravatar danieldg2009-02-241-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11147 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix svn:keywords on m_nationalchars.cppGravatar danieldg2009-02-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11146 e03df62e-2008-0410-955e-edbf42e46eb7
* m_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning ↵Gravatar special2009-02-232-2/+2
| | | | | | CMD_LOCALONLY respectively git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11144 e03df62e-2008-0410-955e-edbf42e46eb7
* Forward port r11142: Commands that only give a response locally should not ↵Gravatar special2009-02-231-1/+1
| | | | | | be propagated globally, especially if not flagged as VF_COMMON (specifically, m_sslinfo). Found by satmd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11143 e03df62e-2008-0410-955e-edbf42e46eb7
* In retrospect, not allowing *any* XLines to be set was pretty fucking stupid.Gravatar w00t2009-02-221-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11141 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't remove an expired xline on add, simply drop duplicates (1.1 ↵Gravatar w00t2009-02-221-9/+2
| | | | | | behaviour). This can lead to bouncing between servers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11140 e03df62e-2008-0410-955e-edbf42e46eb7