summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* m_override: fix messages on multi-mode changesGravatar danieldg2009-03-081-105/+92
| | | | | | This fixes bug 664 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11186 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
* Include explicit parameter list in ProtocolInterface::SendModeGravatar danieldg2009-03-076-31/+21
| | | | | | | 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-064-10/+10
| | | | | | | | | | | | 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
* 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
* 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 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
* Forward port r11137 from stable:Gravatar peavey2009-02-221-1/+1
| | | | | | | ================================ Use extended open method instead of the basic. Because basic always does SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE and we just want SQLITE_OPEN_READWRITE so we can warn if the db does not exist, rather than create an empty db. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11138 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded "fd" member of issl_sessionGravatar danieldg2009-02-191-21/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11135 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded comment about warnings on 64-bitGravatar danieldg2009-02-191-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11134 e03df62e-2008-0410-955e-edbf42e46eb7
* GnuTLS does not need a double-copy input bufferGravatar danieldg2009-02-191-59/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11133 e03df62e-2008-0410-955e-edbf42e46eb7
* SAPART does indeed take up to 3 parameters.Gravatar dz2009-02-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11132 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash on /SHUN with exactly 2 parametersGravatar danieldg2009-02-191-5/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11131 e03df62e-2008-0410-955e-edbf42e46eb7
* Add UID to CHECK outputGravatar danieldg2009-02-181-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11129 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused NumServers fieldGravatar danieldg2009-02-181-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11128 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove MaxMapHeight, replace with dynamically sized buffersGravatar danieldg2009-02-182-39/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11127 e03df62e-2008-0410-955e-edbf42e46eb7
* Apparently casting to float is not sufficient to cause a conversionGravatar danieldg2009-02-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11126 e03df62e-2008-0410-955e-edbf42e46eb7
* Rework /MAP output to not be overly wideGravatar danieldg2009-02-182-71/+60
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11125 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove had no maxparaGravatar brain2009-02-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11124 e03df62e-2008-0410-955e-edbf42e46eb7
* Maxpara on these was 3, should be 2Gravatar brain2009-02-182-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11123 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove redundant PriorityState, enum Priority does the exact same thing.Gravatar w00t2009-02-1613-14/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
* Several changesGravatar peavey2009-02-151-34/+80
| | | | | | | | * Only send out NICK from target server * Dont block changing nick when being forced * Add more sanity checks various places git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11115 e03df62e-2008-0410-955e-edbf42e46eb7