| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This is not exploitable as far as I know but it is probably best
that we use the newer function just in case.
Closes #649 (although the attack mentioned in that issue was not
feasible).
|
| | |
|
| | |
|
| |
|
|
|
| |
The options for disabling these were added to keep compatibility
with previous 2.0 releases and are not needed any more.
|
| |
|
|
|
| |
- ERR_CANNOTSENDTOCHAN only takes the channel name and a message.
- ERR_INVALIDCAPCMD is 410 not 232.
|
| | |
|
| |
|
|
|
|
| |
There is no reason for these responses to have their own numerics
when other modules do not. The only thing this does is make life
harder for client developers.
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
Closes #1240.
|
| | |
| |
| |
| |
| |
| | |
ChangeIP() calls SetClientIP() which revalidates whether the user
matches an ELine. However, because the hostname has not changed yet
the user may incorrectly be marked as non-exempt.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Since CGI:IRC calls it's 'ChangeIP()' either from 'OnCheckReady()'
or 'OnUserRegister()', both of which are called after the user has
sent NICK/USER, we can safely skip re-setting the ExtItem prior to
this point.
This skips the first 'OnSetUserIP()' from 'User::AddUser()' as
the 'OnSetConnectClass()' catch handles the initial setting.
|
| | |
| |
| |
| | |
Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91.
|
| | |
| |
| |
| | |
as requested by @Adam-
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Sending history to some bots can cause problems as without the
IRCv3 chathistory batch they have no way of knowing what messages
are history and what they should respond to.
Closes #1450.
|
| | |
| |
| |
| |
| |
| |
| | |
This is used by modules like m_sasl to send the cgiirc hostname to
services so it should contain something valid.
Closes #1438.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
modules (#1134).
Closes #711.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- The configuration is now validated on ReadConfig and parsed into
objects.
- Allow redirecting to channels that don't yet exist. There is no
technical reason to not allow this and I believe that it would
be a lot less confusing to users if we allowed this.
- Flatten a bunch of nested if statements.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
This is necessary to allow m_ircv3_echomessage to pretend that a
message was echoed successfully. This is useful as it doesn't let
spammers know that their message was blocked.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Within the example configs, helpops, some server sent messages, and
simple code comments: change the primary usage of "gecos" to
"real name" (or "realname" where fitting).
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
Some core code still exists in the XLine system but this will be
replaced when the XLine system is replaced later.
|
| | |
| |
| |
| |
| |
| |
| | |
- Add the G: extban to the EXTBAN 005 token.
- Use CXX11_OVERRIDE with ReadConfig and OnCheckBan.
Thanks to @genius3000 for pointing these out.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Defaults to md5,sha256 to be compatible with old configs.
Adds new parameter `kdf`. If this is set (to e.g. bcrypt), the hash
will be compared locally. This requires the password column to be
specified in <sqlauth:column>.
Closes #741
|
| | | |
|
| | |
| |
| | |
m_sqloper now supports dynamic fields, works with m_sslinfo, and works with /stats o.
|
| | | |
|
| | |
| |
| |
| |
| | |
* Validate the settings in the same order as the parameter syntax
* Always validate Lines and Secs regardless of having a Diff
* Check Backlog for greater than Max as well as being disabled
|
| | |
| |
| |
| |
| | |
This module uses platform-specific behaviour that does not work on
Windows.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- The ACCEPT=[count] token specifies the maximum amount of nicks
which can be added to a m_callerid accept list. This token was
added by ircd-ratbox in 3.0.9.
- The KEYLEN=[length] token specifies the maximum length of a
channel key. This token was added by ircd-ratbox in 3.1 beta.
For more info see http://defs.ircdocs.horse/defs/isupport.html
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently on invalid modes we do a combination of different things:
1. Send a custom mode-specific numeric (which often collides with
other modes).
2. Send a server notice.
3. Do absolutely nothing.
This new numeric is a generic way of handling invalid parameters
when setting a mode that avoids all of the mistakes of the previous
behaviour.
|