summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2009-03-14Extban rework: allow exceptions to override bans on joindanieldg
Move all bans that prevent a user from joining the channel to OnCheckBan, then stack their return results to allow an exception to override a ban. This does not make join exceptions override any other exception like mute. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11222 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14Revert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"danieldg
This check on uplink was not sufficient. It has been replaced by marking children of a bursting server as bursting, so the uplink is no longer needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11218 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14Mark children of remote servers as bursting while their parent is burstingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14Send remote BURST on new incoming server introductiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11216 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-13Fix bug #775, GRELOADMODULE displays success message on failure. Reported by ↵danieldg
Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11214 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-13Fix bug #779, SSL metadata sent using the wrong case. Thanks HiroPdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11213 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-12Fix an oper-triggerable crash on CBAN; found by Tarosspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11211 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-11Make the ident module assume that a connect tag wants ident functionality ↵peavey
unless told explicitly not, this matches the old behavior before the option was added. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11206 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-11Fix ComparePass for servers not supporting HMAC-SHA256 when ↵danieldg
ChallengeResponse is on in configuration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11205 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10Apparantly someone can't figure out which index to check. Fixes CHGHOST with ↵w00t
blank hosts, thanks Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11196 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10Push password comparison logic into ComparePass, fixes authentication bug ↵danieldg
noticed by HiroP git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11195 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10Quiet bursts for uplinks, suggested by HiroP, thanks!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11194 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09An FJOIN is not bursting unless the source server is burstingdanieldg
Fixes bug #755 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11188 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-08m_override: fix messages on multi-mode changesdanieldg
This fixes bug 664 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11186 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-07Remove some unneeded debug messages on the common case of FJOINdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11183 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-07Include explicit parameter list in ProtocolInterface::SendModedanieldg
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
2009-03-06Construct explicit parameter type list for MODE parametersdanieldg
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
2009-03-06Send SVSNICKs during nick collision to prevent servers that do not fully ↵danieldg
implement collisions from killing users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11179 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-06Fix number of events in noctcp, so 'C' is shown in EXTBAN= 005 token, fixes ↵w00t
bug #758 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11177 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-06Fix +g notices going to remote users. Fixes bug #749, reported by Taros.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11176 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-06Convert helpop to use a ModeHandler base rather than a ↵w00t
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
2009-03-05m_sakick needs to be marked VF_COMMONdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11174 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-05Fix delayjoin adding an extra @ prefix modedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11172 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-05Fix crash when services (or a misbehaving remote server) introduces a server ↵danieldg
with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04delayjoin: Remove broken check for channel ops, use ModeHandler parameter ↵danieldg
instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11169 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04Clean up delayjoin extension behaviordanieldg
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
2009-03-02Revert "Don't apply channel modes received in an non-burst, non-creation ↵danieldg
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
2009-03-02Don't apply channel modes received in an non-burst, non-creation FJOIN, ↵danieldg
because they could be out of date git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11162 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-01Fix a crash in m_conn_waitpong, spotted by Obi_Wan.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11159 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Revert r10640, it blocked override notices unless they contained an op/deop/etcdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11158 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Add more information to /CHECK outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11157 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27[Taros] Add m_sakick.sodanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11156 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Fix SID-sourced KILL being displayed to killee as from SID not from server namedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11155 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Fix previous module mismatch message; "remote" is misleading when sent as an ↵danieldg
ERROR git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11154 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Add VF_COMMON to all modules that provide an extbandanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11153 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Remove VF_COMMON from m_banredirect, it only adds an extbandanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11152 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Clarify CMD_LOCALONLY return values for /WATCHdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11151 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25m_customtitle: Don't route TITLE command, route metadata onlydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11150 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Allow accountname to be changed without an explicit unsetdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11149 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Clarify module mismatch messagedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11148 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Allow non-opers to use /MKPASSWDdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11147 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Fix svn:keywords on m_nationalchars.cppdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11146 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-23m_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning ↵special
CMD_LOCALONLY respectively git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11144 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-23Forward port r11142: Commands that only give a response locally should not ↵special
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
2009-02-22Forward port r11137 from stable:peavey
================================ 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
2009-02-19Remove unneeded "fd" member of issl_sessiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11135 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19Remove unneeded comment about warnings on 64-bitdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11134 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19GnuTLS does not need a double-copy input bufferdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11133 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19SAPART does indeed take up to 3 parameters.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11132 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19Fix crash on /SHUN with exactly 2 parametersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11131 e03df62e-2008-0410-955e-edbf42e46eb7