aboutsummaryrefslogtreecommitdiffstats
path: root/src/coremods
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
|
* Fix core_dns rejecting simple hostnames.Gravatar Sadie Powell2023-01-131-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2022-12-3042-52/+42
|
* Tell an oper when the X-line they were trying to match is too wide.Gravatar Sadie Powell2022-12-107-8/+12
| | | | | Also move the snotice for an overwide X-line to snomask 'X' which should have been done when it was added.
* Allow specifying multiple masks when adding an X-line.Gravatar Sadie Powell2022-12-105-9/+20
| | | | | | | The only exemptions for this are RLINE (a real name might contains commas) and SVSHOLD (sent by services only). Closes #1972.
* Fix reading the MOTD when <connect:motd> is a literal path.Gravatar Sadie Powell2022-12-091-5/+14
|
* Fix sending malformed MOTD and showfile messages to clients.Gravatar Sadie Powell2022-12-092-6/+15
|
* Document how DNS PTR record lookups work better.Gravatar Sadie Powell2022-10-151-1/+4
|
* Fix the default case in GetFirstVisibleChannel and document it.Gravatar Sadie Powell2022-10-131-2/+5
|
* Allow modules to control the visible channel in a WHO request.Gravatar Sadie Powell2022-10-121-7/+15
|
* Add the matched channel to the WHO request data.Gravatar Sadie Powell2022-10-121-3/+3
|
* Send ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS.Gravatar Sadie Powell2022-09-122-3/+14
|
* Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-045-5/+5
|
* Update copyright headers.Gravatar InspIRCd Robot2022-08-253-3/+3
|
* Fix some warnings in core_who on newer GCC.Gravatar Sadie Powell2022-08-171-3/+4
|
* Fix inconsistencies between USERHOST and USERIP.Gravatar Sadie Powell2022-06-231-5/+2
|
* Make setting sockets as FD_CLOEXEC more portable.Gravatar Sadie Powell2022-06-071-2/+2
| | | | Ref: #1986.
* Use a mode reference instead of repeatedly looking up the snomask mode.Gravatar Sadie Powell2022-05-151-3/+6
|
* Update copyright headers.Gravatar InspIRCd Robot2022-04-2814-14/+15
|
* Use FindNearestPrefixMode instead of looking for the halfop mode.Gravatar Sadie Powell2022-04-121-2/+2
|
* Add a numeric builder for the ERR_CHANOPRIVSNEEDED numeric.Gravatar Sadie Powell2022-04-123-7/+3
| | | | This should make privilege errors more consistent.
* Fix <security announceinvites="dynamic"> when halfop is not loaded.Gravatar Sadie Powell2022-04-071-2/+8
|
* Expose the invite announcement level to modules.Gravatar Sadie Powell2022-04-074-21/+5
|
* Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-055-10/+10
|
* Allow modules to handle WHO matching.Gravatar Sadie Powell2022-03-251-1/+12
|
* Fix GNU++98 compatibility.Gravatar Sadie Powell2022-03-241-1/+1
|
* Fix using the prefix char instead of the prefix letter in oplevels.Gravatar Sadie Powell2022-03-231-1/+1
|
* Fix our WHO oplevels being incompatible with the WHOX spec.Gravatar Sadie Powell2022-03-221-1/+49
| | | | | | | | | | | Unlike in InspIRCd where 0 is an unprivileged member and higher levels grant more privileges the WHOX spec defines the oplevel field as using n/a for unprivileged users and the lower an oplevel is the more privileges it grants. InspIRCd also uses values between 0 and UINT_MAX whereas WHOX only uses values between 0 and 999. In order to work around this we now lazily build dummy oplevels for the InspIRCd member ranks.
* Add support for the <count> param of WHOWAS (#1968)Gravatar Val Lorentz2022-03-191-2/+10
| | | | | | | Not very useful IMO, but every server but InspIRCd seems to implement it, and it's part of the RFCs: * https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3 * https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3
* Reverse order of WHOWAS repliesGravatar Valentin Lorentz2022-03-191-1/+1
| | | | | | | To be consistent with other implementations + the RFCs: * https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3 * https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3
* Fix parsing a LIST request with both a match and inverted match.Gravatar Sadie Powell2022-01-201-25/+15
| | | | e.g. /LIST *foo* !*bar*
* Fix parsing LIST commands with multiple constraints.Gravatar Sadie Powell2022-01-201-35/+38
|
* Update copyright headers.Gravatar InspIRCd Robot2021-12-307-7/+6
|
* We only care about the first parameter to the nick command.Gravatar Sadie Powell2021-12-281-1/+1
| | | | | Nicknames can't have spaces so the trailing concatenation logic here is not what users will expect.
* Fix not being able to look up hostnames that point to multiple IPs.Gravatar Sadie Powell2021-12-271-82/+123
|
* Make packing PTR queries a bit more robust.Gravatar Sadie Powell2021-12-251-3/+4
| | | | | There is no first party modules which could be compromised before this check was added but its better to be safe wherever possible.
* If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-143-6/+6
|
* Fix sending ERR_CHANOPRIVSNEEDED where ERR_RESTRICTED should be used.Gravatar Sadie Powell2021-12-111-1/+1
|
* Add Server::GetPublicName(), fix not respecting <security:hideserver>.Gravatar Sadie Powell2021-10-253-4/+4
|
* Respect <security:hideserver> in the 005 numeric.Gravatar Sadie Powell2021-10-251-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2021-08-278-7/+10
|
* Thank more people in the credits.Gravatar Sadie Powell2021-08-241-1/+2
| | | | | dan- and jwheare have helped a bunch with ircdocs and testing so they definitely deserve to be listed here.
* Update the credits.Gravatar Sadie Powell2021-08-231-10/+10
| | | | | | - Move fraggeln (former CI host) to former contributors. - Add Duck (domain manager) to thanks. - Add progval (docs magician) to active contributors.
* Makes NAMES reply with RPL_ENDOFNAMES even for nonexisting channelsGravatar Valentin Lorentz2021-08-071-2/+2
| | | | | | | Instead of ERR_NOSUCHCHANNEL. This is the behavior described by the RFCs and the Modern spec, and is implemented by Hybrid/Chary/Solanum, Ergo, and Unreal.
* Fix a race condition with hostname lookups when using haproxy.Gravatar Sadie Powell2021-07-271-5/+6
| | | | | | | | If a user's origin has been changed before the first DNS lookup returns then the result of the lookup for that origin may overwrite their host. Closes #1914.
* Simplify reverse lookup code in core_hostname_lookup.Gravatar Sadie Powell2021-07-071-11/+2
|
* Deduplicate all whois numerics to the whois module header.Gravatar Sadie Powell2021-07-051-0/+1
|
* Stop sending RPL_WHOISSERVICE as it conflicts with RPL_WHOISHELPOP.Gravatar Sadie Powell2021-07-051-1/+1
| | | | | | Both Anope and Atheme send an oper type for services clients so this numeric is unnecessary. In cases where genericoper is enabled we now send "is a network service" in RPL_WHOISOPERATOR.
* Fix some "targ" usages which were missed in the earlier commit.Gravatar Sadie Powell2021-07-031-2/+2
|
* Fix various spelling issues (#1883).Gravatar Josh Soref2021-06-211-1/+1
| | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>