]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
5 years agoFix exposing the ban reason when an xline is found in the bancache.
Peter Powell [Wed, 26 Sep 2018 22:53:29 +0000 (23:53 +0100)]
Fix exposing the ban reason when an xline is found in the bancache.

5 years agoFix sending malformed ERR_BANLISTFULL numerics in some contexts.
Peter Powell [Tue, 9 Oct 2018 18:53:37 +0000 (19:53 +0100)]
Fix sending malformed ERR_BANLISTFULL numerics in some contexts.

Fixes ircdocs/irc-defs#37.

5 years agoFix gateway client hosts not being updated if DNS resolution fails.
Peter Powell [Wed, 5 Sep 2018 15:27:57 +0000 (16:27 +0100)]
Fix gateway client hosts not being updated if DNS resolution fails.

5 years agoFix sending malformed ERR_UNKNOWNCOMMAND messages in some cases.
Peter Powell [Fri, 10 Aug 2018 09:25:40 +0000 (10:25 +0100)]
Fix sending malformed ERR_UNKNOWNCOMMAND messages in some cases.

This is not something the average user will encounter. It can only
happen if the user sends a message with preceding whitespace or a
prefix but no command name.

This is not something that should ever be seen in practise so we
just penalise the user and pretend nothing ever happened.

The previous code also contained undefined behaviour but it acted
sensibly on all compilers we support so it was not crashable.

5 years agom_httpd: close the HTTP connection after serving a request.
Peter Powell [Tue, 7 Aug 2018 17:31:47 +0000 (18:31 +0100)]
m_httpd: close the HTTP connection after serving a request.

We always send "Connection: Close" so this is the right behaviour
according to section 8.1 of RFC 2616.

Closes #1507.

5 years agoClean up the WHO helpop documentation.
Peter Powell [Thu, 12 Jul 2018 00:23:06 +0000 (01:23 +0100)]
Clean up the WHO helpop documentation.

5 years agoFix replying with the source user in oper-restricted WHO lookups.
Peter Powell [Wed, 11 Jul 2018 11:08:19 +0000 (12:08 +0100)]
Fix replying with the source user in oper-restricted WHO lookups.

5 years agoUpdate the readme so that it is actually useful.
Peter Powell [Tue, 10 Jul 2018 17:11:57 +0000 (18:11 +0100)]
Update the readme so that it is actually useful.

5 years agoRename the license file so that people can find it easier.
Peter Powell [Tue, 10 Jul 2018 15:24:54 +0000 (16:24 +0100)]
Rename the license file so that people can find it easier.

5 years agoFix the configure checks for eventfd(), <stdint.h>, and strlcpy().
Peter Powell [Tue, 3 Jul 2018 14:52:40 +0000 (15:52 +0100)]
Fix the configure checks for eventfd(), <stdint.h>, and strlcpy().

Closes #1503.

6 years agoClarify the documentation for m_httpd and m_httpd_{config,stats}.
Peter Powell [Mon, 18 Jun 2018 02:28:58 +0000 (03:28 +0100)]
Clarify the documentation for m_httpd and m_httpd_{config,stats}.

Thanks to @SleepyEntropy for pointing out that multiple internet-
accessible servers do not have these modules correctly configured.

6 years agoFix invalid conversion from 'const char*' to 'char*' on FreeBSD.
Peter Powell [Fri, 8 Jun 2018 07:44:39 +0000 (08:44 +0100)]
Fix invalid conversion from 'const char*' to 'char*' on FreeBSD.

6 years agoRelease v2.0.26
Peter Powell [Fri, 20 Apr 2018 18:53:01 +0000 (19:53 +0100)]
Release v2.0.26

6 years agoImprove some documentation (#1483).
Matt Schatz [Mon, 16 Apr 2018 09:02:49 +0000 (03:02 -0600)]
Improve some documentation (#1483).

* Improve exemptchanops in inspircd.conf.example (<options>)
  and modules.conf.example; along with both helpop examples.
* Add "the" to all "requires X module" in both helpop examples.
* Refer to customprefix instead of chanprotect and halfop.
* Add SNOMASK 'r' and 'R' (OPERLOG) to both helpop examples.
* Clean up unnecessarily split SNOMASK lines in both helpop examples.
* Move chmode 'g' to be in alphabetical order in both helpops examples.
* Specify the needed mask formats for TLINE in helpop-full example.
* Remove extra '\' in RLINE mask format in helpop-full example.
  Force xml format in helpop-full
* Generalize "color codes" to "formatting codes"
* Fix file name in include for example helpop-full

6 years agoFix ModuleManager's external source lists not working with HTTPS.
Peter Powell [Wed, 11 Apr 2018 23:30:53 +0000 (00:30 +0100)]
Fix ModuleManager's external source lists not working with HTTPS.

6 years agoFix blank instead of empty PART message when a user is shunned
B00mX0r [Mon, 9 Apr 2018 00:28:37 +0000 (17:28 -0700)]
Fix blank instead of empty PART message when a user is shunned

6 years agoRemove swhois messages set in the oper block on deoper.
Peter Powell [Sun, 21 Jan 2018 13:33:44 +0000 (13:33 +0000)]
Remove swhois messages set in the oper block on deoper.

Closes #1240.

6 years agoFix ELine::Matches returning false on existing match
genius3000 [Mon, 26 Mar 2018 11:57:22 +0000 (05:57 -0600)]
Fix ELine::Matches returning false on existing match
When checking for an E-Line match, we want to actually check for a
current match even if we previously matched and are set exempt.

This fixes situations where you have an E-Lined CGI:IRC address,
a G-Lined IP range for some area/host/etc and a smaller E-Lined
IP range for known good clients. Currently when CGI:IRC changes
the IP, E-Lines are rechecked but because the user is already exempt
(from the CGI:IRC E-Line), they are set no longer exempt and match
a G-Line, when they should match an E-Line.

This exact change has been done before in commit 'c8b344e' and shortly
reverted in 'c490a90' to fix issue #989 (CGI:IRC users remaining exempt
when the CGI:IRC address is E-Lined but they are not).
The actual cause to this issue was likely that the user's hostname was
not changed from the CGI:IRC hostname/IP prior to rechecking E-Lines.
This is being fixed in a separate commit.

6 years agoSet User::host before calling ChangeIP()
Peter Powell [Mon, 26 Mar 2018 11:52:35 +0000 (05:52 -0600)]
Set User::host before calling ChangeIP()
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.

6 years agoUpdate the GeoIP ExtItem when CGI:IRC sets the real IP (#1471)
genius3000 [Fri, 30 Mar 2018 16:08:22 +0000 (10:08 -0600)]
Update the GeoIP ExtItem when CGI:IRC sets the real IP (#1471)

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.

6 years agoMerge pull request #1463 from clinew/insp20+openssl-v1.1-compat
Peter Powell [Sun, 4 Mar 2018 13:58:00 +0000 (13:58 +0000)]
Merge pull request #1463 from clinew/insp20+openssl-v1.1-compat

m_ssl_openssl: Remove deprecated API members.

6 years agom_ssl_openssl: Remove deprecated API members.
Wade Cline [Sat, 3 Mar 2018 05:05:05 +0000 (21:05 -0800)]
m_ssl_openssl: Remove deprecated API members.

Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91.

6 years agoMerge pull request #1458 from linuxdaemon/insp20+duplicate-redir-meta
Peter Powell [Sat, 24 Feb 2018 11:50:54 +0000 (11:50 +0000)]
Merge pull request #1458 from linuxdaemon/insp20+duplicate-redir-meta

[2.0] Make sure banredirect metadata can not be duplicated

6 years agoMerge pull request #1460 from genius3000/insp20+helpop_fix
Peter Powell [Mon, 12 Feb 2018 10:41:03 +0000 (10:41 +0000)]
Merge pull request #1460 from genius3000/insp20+helpop_fix

[2.0]: Helpop: Move extban 'U' from acting to matching

6 years ago[2.0]: Helpop: Move extban 'U' from acting to matching
genius3000 [Mon, 12 Feb 2018 01:40:23 +0000 (18:40 -0700)]
[2.0]: Helpop: Move extban 'U' from acting to matching
Already fixed in master in 8587df2

6 years agoRevert std::set changes and add duplicate checking in m_banredirect instead, as reque...
linuxdaemon [Fri, 26 Jan 2018 03:34:40 +0000 (21:34 -0600)]
Revert std::set changes and add duplicate checking in m_banredirect instead, as requested by @Adam-

6 years agoFix comparator logic for ordering by channel
linuxdaemon [Fri, 26 Jan 2018 01:12:23 +0000 (19:12 -0600)]
Fix comparator logic for ordering by channel

6 years agoMake sure banredirect metadata can not be duplicated
linuxdaemon [Thu, 25 Jan 2018 22:07:30 +0000 (16:07 -0600)]
Make sure banredirect metadata can not be duplicated

6 years agom_chanhistory: optionally exempt bots from receiving history.
Michael Hazell [Fri, 29 Dec 2017 23:16:39 +0000 (18:16 -0500)]
m_chanhistory: optionally exempt bots from receiving history.

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.

6 years agoMerge pull request #1449 from B00mX0r/insp20
Peter Powell [Sat, 23 Dec 2017 12:04:16 +0000 (12:04 +0000)]
Merge pull request #1449 from B00mX0r/insp20

Fix two minor docs issues

6 years agoFix two minor docs issues
B00mX0r [Thu, 21 Dec 2017 04:53:59 +0000 (20:53 -0800)]
Fix two minor docs issues

6 years agoAlways store something in the cgiirc hostname extension.
Peter Powell [Sat, 16 Dec 2017 13:22:14 +0000 (13:22 +0000)]
Always store something in the cgiirc hostname extension.

This is used by modules like m_sasl to send the cgiirc hostname to
services so it should contain something valid.

Closes #1438.

6 years agoUse HTTPS URLs in the executable file and include examples.
Peter Powell [Fri, 15 Dec 2017 12:05:30 +0000 (12:05 +0000)]
Use HTTPS URLs in the executable file and include examples.

6 years agoFix m_spanningtree sending the wrong setter in S2S ADDLINE.
Peter Powell [Mon, 4 Dec 2017 14:34:51 +0000 (14:34 +0000)]
Fix m_spanningtree sending the wrong setter in S2S ADDLINE.

6 years agoFix m_xline_db storing the wrong setter in the XLine database.
Peter Powell [Mon, 4 Dec 2017 14:18:50 +0000 (14:18 +0000)]
Fix m_xline_db storing the wrong setter in the XLine database.

6 years agoClarify the documentation of <connect:allow>.
Peter Powell [Tue, 12 Dec 2017 20:20:33 +0000 (20:20 +0000)]
Clarify the documentation of <connect:allow>.

6 years agoAdd length checking to GetExtBanStatus and m_banexception.
Peter Powell [Mon, 27 Nov 2017 14:13:42 +0000 (14:13 +0000)]
Add length checking to GetExtBanStatus and m_banexception.

As far as I can tell this is not a problem as all ban masks are
canonicalised but its better to be safe than sorry.

6 years agoMerge pull request #1413 from B00mX0r/insp20
Peter Powell [Wed, 15 Nov 2017 04:17:15 +0000 (04:17 +0000)]
Merge pull request #1413 from B00mX0r/insp20

Fix referring to sqloper and sqlauth as extras in modules.conf.example.

6 years agoFix referring to sqloper and sqlauth as extras in modules.conf
B00mX0r [Wed, 15 Nov 2017 04:07:54 +0000 (20:07 -0800)]
Fix referring to sqloper and sqlauth as extras in modules.conf

6 years agoRelease v2.0.25
Peter Powell [Sun, 12 Nov 2017 15:55:01 +0000 (15:55 +0000)]
Release v2.0.25

6 years agoDon't mess with the encoding of extras modules in modulemanager.
Peter Powell [Sun, 12 Nov 2017 14:33:08 +0000 (14:33 +0000)]
Don't mess with the encoding of extras modules in modulemanager.

This fixes installing extras modules such as m_qrcode which contain
characters from outside of the Unicode Basic Multilingual Plane.

6 years agoVarious minor documentation fixes.
Peter Powell [Sun, 12 Nov 2017 11:58:49 +0000 (11:58 +0000)]
Various minor documentation fixes.

- Remind admins that not setting a DIE/RESTART password does not
  disable use of those commands.
- Remove references to 1.2 and modules being able to create custom
  logging methods. This was never implemented in the 2.0 branch.
- Remove references to an SASL improvement that was reverted.
- Update various InspIRCd website links to use HTTPS over HTTP.
- Update a link to the IRCv3 website to point to the new website.

6 years agoWork around removing shuns on nicks when the nick is online.
Peter Powell [Tue, 7 Nov 2017 18:18:35 +0000 (18:18 +0000)]
Work around removing shuns on nicks when the nick is online.

6 years agoRevert the code changes to m_sasl made in commit 9d4b4344b4.
Peter Powell [Thu, 9 Nov 2017 11:04:52 +0000 (11:04 +0000)]
Revert the code changes to m_sasl made in commit 9d4b4344b4.

This is causing problems such as duplicate 904 messages.

6 years agoMerge pull request #1255 from genius3000/insp20+timedbans
Peter Powell [Tue, 7 Nov 2017 14:15:50 +0000 (14:15 +0000)]
Merge pull request #1255 from genius3000/insp20+timedbans

2.0: Fix various inconsistencies in m_timedbans.

6 years agoImprove (synchronize) the notices in m_timedbans
genius3000 [Tue, 22 Nov 2016 05:00:27 +0000 (22:00 -0700)]
Improve (synchronize) the notices in m_timedbans

* Send to remote servers upon setting
* Send to halfop if available upon expiry

6 years agoMerge pull request #1359 from genius3000/insp20+sasl_no_server
Peter Powell [Mon, 6 Nov 2017 11:11:22 +0000 (11:11 +0000)]
Merge pull request #1359 from genius3000/insp20+sasl_no_server

2.0: Inform the client when a SASL message cannot be sent

6 years agoInform the client when a SASL message cannot be sent
genius3000 [Thu, 27 Jul 2017 09:05:44 +0000 (03:05 -0600)]
Inform the client when a SASL message cannot be sent

When SASL is properly configured with a 'target' server, we are able
to inform the client when the message fails to send.
Currently if a target is configured and it is offline, no response is
sent. This can cause some clients to time out while waiting for a response.

If a target isn't configured, behaviour will not change with this commit.
The default of '*' will still send to all servers.
Updated example config with 'target' variable.

6 years agoUse InvalidateCache in the sockaddrs overload of OnSetClientIP.
Peter Powell [Sun, 22 Oct 2017 22:51:15 +0000 (23:51 +0100)]
Use InvalidateCache in the sockaddrs overload of OnSetClientIP.

This was done to the string variant in d3b82b2f7f.

6 years agoMerge pull request #1410 from jcjordyn130/insp20
Peter Powell [Sun, 5 Nov 2017 22:43:36 +0000 (22:43 +0000)]
Merge pull request #1410 from jcjordyn130/insp20

Fix CMD_RESTART with relative paths as argv[0].

6 years agoFix CMD_RESTART with relative paths as argv[0].
Jordyn/The Linux Geek [Sat, 4 Nov 2017 23:13:41 +0000 (18:13 -0500)]
Fix CMD_RESTART with relative paths as argv[0].

6 years agoConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()
Adam [Fri, 27 Oct 2017 00:23:24 +0000 (20:23 -0400)]
ConfigReader: fix compilers optimizing NULL check in ConfigTag::readString()

See: 66f82ccf926aac39273bfc652c85c08080cc9a46

Fixes inspircd/inspircd-extras#110

6 years agoFix sending a malformed 410 numeric when sent empty CAP commands.
Peter Powell [Tue, 17 Oct 2017 23:36:26 +0000 (00:36 +0100)]
Fix sending a malformed 410 numeric when sent empty CAP commands.

6 years agoFix the command table not being case insensitive.
Peter Powell [Mon, 16 Oct 2017 16:00:53 +0000 (17:00 +0100)]
Fix the command table not being case insensitive.

This is not an issue normally but in some circumstances (e.g. when
disabling commands) it can result in command lookups failing even
when they exist.

6 years agoUpdate wiki links to use HTTPS and point to the correct pages.
Peter Powell [Sun, 20 Aug 2017 16:47:38 +0000 (17:47 +0100)]
Update wiki links to use HTTPS and point to the correct pages.

When we release 3.0 these links will break as they will point to
the pages for 3.0 rather than 2.0.

6 years agoInclude connection security with the SASL host information.
Peter Powell [Wed, 11 Oct 2017 11:15:05 +0000 (12:15 +0100)]
Include connection security with the SASL host information.

See atheme/atheme@b41753f740 for more details.

6 years agoFix the command for enabling m_sqlite3 in modules.conf.example.
Peter Powell [Thu, 14 Sep 2017 13:52:42 +0000 (14:52 +0100)]
Fix the command for enabling m_sqlite3 in modules.conf.example.

6 years agoFix killing elined clients on [gkz]line in some cases.
Peter Powell [Sat, 15 Jul 2017 17:04:26 +0000 (18:04 +0100)]
Fix killing elined clients on [gkz]line in some cases.

6 years agoFix m_cgiirc allowing malformed hosts sent via WEBIRC.
Peter Powell [Fri, 8 Sep 2017 19:47:10 +0000 (20:47 +0100)]
Fix m_cgiirc allowing malformed hosts sent via WEBIRC.

6 years agoFix {Host,IP}MatchesEveryone using Match instead of MatchCIDR.
Peter Powell [Thu, 31 Aug 2017 21:51:58 +0000 (22:51 +0100)]
Fix {Host,IP}MatchesEveryone using Match instead of MatchCIDR.

MatchCIDR is what [GKZ]Line::Matches uses it so we should also use
it here to prevent insane bans that should not pass from passing.

6 years agoUse DLLManager::RetrieveLastError() on all platforms.
Peter Powell [Sat, 26 Aug 2017 16:25:20 +0000 (17:25 +0100)]
Use DLLManager::RetrieveLastError() on all platforms.

This prevents a bug where we send malformed messages to the client
when dlerror() returns an error message containing more than one
line. This has been observed on macOS but probably will happen on
other UNIX systems too.

This also fixes a potential problem where dlerror() returns NULL
and converting it to std::string causes a crash. I can't see any
way that this might happen but it is better to be safe than sorry.

6 years agoFix mistakenly hardcoding the halfop prefix char in timedbans.
Peter Powell [Fri, 25 Aug 2017 12:12:44 +0000 (13:12 +0100)]
Fix mistakenly hardcoding the halfop prefix char in timedbans.

This will almost always be % but if the server admin is using the
customprefix module and remaps it to something else messages will
not be sent out correctly.

6 years agoUpdate the link to the CIDR subnetting charts.
Peter Powell [Sun, 13 Aug 2017 16:24:20 +0000 (17:24 +0100)]
Update the link to the CIDR subnetting charts.

6 years agoMerge pull request #1347 from SaberUK/insp20+ctcp-action
Peter Powell [Sat, 5 Aug 2017 17:33:54 +0000 (18:33 +0100)]
Merge pull request #1347 from SaberUK/insp20+ctcp-action

[2.0] Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.

6 years agoAdd ADMIN to the list of commands that shunned users can run.
Peter Powell [Mon, 24 Jul 2017 13:04:34 +0000 (14:04 +0100)]
Add ADMIN to the list of commands that shunned users can run.

6 years agoMerge pull request #1283 from SaberUK/insp20+mailmap
Peter Powell [Tue, 11 Jul 2017 14:48:11 +0000 (15:48 +0100)]
Merge pull request #1283 from SaberUK/insp20+mailmap

[2.0] Add a mailmap to clean up the output of git-shortlog.

6 years agoMerge pull request #1333 from SaberUK/insp20+openbsd
Attila Molnar [Sun, 9 Jul 2017 19:10:27 +0000 (21:10 +0200)]
Merge pull request #1333 from SaberUK/insp20+openbsd

[2.0] Tell OpenBSD users that they need to use a different make command.

6 years agoMerge pull request #1343 from SaberUK/insp20+securelist
Attila Molnar [Sun, 9 Jul 2017 19:04:34 +0000 (21:04 +0200)]
Merge pull request #1343 from SaberUK/insp20+securelist

[2.0] Update the securelist exemption for IRC-Source's crawler.

7 years agoFix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.
Peter Powell [Fri, 16 Jun 2017 17:08:40 +0000 (18:08 +0100)]
Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.

Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This
is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.

7 years agoUpdate the securelist exemption for IRC-Source's crawler.
Peter Powell [Tue, 30 May 2017 07:49:14 +0000 (08:49 +0100)]
Update the securelist exemption for IRC-Source's crawler.

7 years agoTell OpenBSD users that they need to use a different make command.
Peter Powell [Fri, 19 May 2017 09:37:24 +0000 (10:37 +0100)]
Tell OpenBSD users that they need to use a different make command.

7 years agoRelease v2.0.24 v2.0.24
Adam [Thu, 18 May 2017 12:35:22 +0000 (08:35 -0400)]
Release v2.0.24

7 years agom_override: fix parentheses compiler warning
Adam [Thu, 18 May 2017 00:10:51 +0000 (20:10 -0400)]
m_override: fix parentheses compiler warning

7 years agoMerge pull request #1094 from SISheogorath/insp20+fixed-Override
Adam [Wed, 17 May 2017 23:46:28 +0000 (19:46 -0400)]
Merge pull request #1094 from SISheogorath/insp20+fixed-Override

fix override issue

7 years agoMerge pull request #1328 from Adam-/insp20+sakick
Adam [Wed, 17 May 2017 22:03:38 +0000 (18:03 -0400)]
Merge pull request #1328 from Adam-/insp20+sakick

m_sakick: remove unused "Unable to kick" notice

7 years agoMerge pull request #1284 from Adam-/insp20+preregcloak
Adam [Wed, 17 May 2017 22:02:54 +0000 (18:02 -0400)]
Merge pull request #1284 from Adam-/insp20+preregcloak

m_cloaking: don't apply cloak to already cloaked users during registration

7 years agom_cloaking: don't apply cloak to already cloaked users during registration
Adam [Wed, 7 Sep 2016 20:08:28 +0000 (16:08 -0400)]
m_cloaking: don't apply cloak to already cloaked users during registration

This can happen if services set a vhost during registration (like with
SASL)

7 years agoMerge pull request #1330 from SaberUK/insp20+mm-inc
Attila Molnar [Wed, 17 May 2017 21:48:38 +0000 (23:48 +0200)]
Merge pull request #1330 from SaberUK/insp20+mm-inc

[2.0] Fix ModuleManager not being able to find make::configure.

7 years agoMerge pull request #1321 from SaberUK/insp20+permwarn
Attila Molnar [Wed, 17 May 2017 21:47:27 +0000 (23:47 +0200)]
Merge pull request #1321 from SaberUK/insp20+permwarn

[2.0] Warn when a user configures a permanent channel without +P.

7 years agoMerge pull request #1269 from Adam-/insp20+saslhost
Attila Molnar [Wed, 17 May 2017 21:44:34 +0000 (23:44 +0200)]
Merge pull request #1269 from Adam-/insp20+saslhost

m_sasl: send host/ip info

7 years agoMerge pull request #1230 from SaberUK/insp20+ipcache
Attila Molnar [Wed, 17 May 2017 21:41:32 +0000 (23:41 +0200)]
Merge pull request #1230 from SaberUK/insp20+ipcache

[2.0] Invalidate the caches properly when User::SetClientIP is called.

7 years agoMerge pull request #1318 from SaberUK/insp20+dumpver
Attila Molnar [Wed, 17 May 2017 21:37:29 +0000 (23:37 +0200)]
Merge pull request #1318 from SaberUK/insp20+dumpver

[2.0] Fix compiler version parsing on GCC 7.

7 years agoFix ModuleManager not being able to find make::configure.
Peter Powell [Tue, 16 May 2017 16:40:16 +0000 (17:40 +0100)]
Fix ModuleManager not being able to find make::configure.

7 years agom_sakick: remove unused "Unable to kick" notice
Adam [Thu, 11 May 2017 12:47:46 +0000 (08:47 -0400)]
m_sakick: remove unused "Unable to kick" notice

This has never worked due to the channel lookup using the user's nick

7 years agowin: set CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION to . so the runtime libraries are...
Adam [Tue, 9 May 2017 22:37:23 +0000 (18:37 -0400)]
win: set CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION to . so the runtime libraries are not placed in bin

7 years agoMerge pull request #1324 from SaberUK/insp20+cgiirc
Adam [Fri, 28 Apr 2017 17:16:43 +0000 (13:16 -0400)]
Merge pull request #1324 from SaberUK/insp20+cgiirc

[2.0] Fix WEBIRC not rejecting invalid IP addresses.

7 years agoPenalise clients that use WEBIRC incorrectly.
Peter Powell [Thu, 27 Apr 2017 01:56:59 +0000 (02:56 +0100)]
Penalise clients that use WEBIRC incorrectly.

7 years agoFix WEBIRC not rejecting invalid IP addresses.
Peter Powell [Thu, 27 Apr 2017 01:52:51 +0000 (02:52 +0100)]
Fix WEBIRC not rejecting invalid IP addresses.

7 years agoAdd a mailmap to clean up the output of git-shortlog.
Peter Powell [Wed, 18 Jan 2017 14:52:32 +0000 (14:52 +0000)]
Add a mailmap to clean up the output of git-shortlog.

7 years agoWarn when a user configures a permanent channel without +P.
Peter Powell [Fri, 14 Apr 2017 14:40:24 +0000 (15:40 +0100)]
Warn when a user configures a permanent channel without +P.

7 years agoFix compiler version parsing on GCC 7.
Peter Powell [Tue, 21 Mar 2017 22:52:12 +0000 (22:52 +0000)]
Fix compiler version parsing on GCC 7.

GCC 7 may optionally omit the MINOR version number in dumpversion
depending on the compiler flags it was built with.

7 years agoMerge pull request #1316 from SaberUK/master+sslmodes
Adam [Tue, 11 Apr 2017 20:04:36 +0000 (16:04 -0400)]
Merge pull request #1316 from SaberUK/master+sslmodes

[2.0] Clarify that m_sslmodes depends on m_sslinfo.

7 years agoMerge pull request #1315 from SaberUK/insp20+securelist
Adam [Tue, 11 Apr 2017 20:03:32 +0000 (16:03 -0400)]
Merge pull request #1315 from SaberUK/insp20+securelist

[2.0] Update securelist exception list.

7 years agoClarify that m_sslmodes depends on m_sslinfo.
Peter Powell [Tue, 11 Apr 2017 19:55:41 +0000 (20:55 +0100)]
Clarify that m_sslmodes depends on m_sslinfo.

7 years agoUpdate securelist exception list.
Peter Powell [Fri, 7 Apr 2017 14:53:12 +0000 (15:53 +0100)]
Update securelist exception list.

- Add an exception for IRC-Source.
- Remove an exception for SearchIRC.
- Remove an old exception for netsplit.

7 years agomodules.conf.example: document useusername in ldapauth
Adam [Mon, 20 Mar 2017 13:38:46 +0000 (09:38 -0400)]
modules.conf.example: document useusername in ldapauth

7 years agom_ldapauth: fix providing username in PASS
Adam [Mon, 20 Mar 2017 13:35:13 +0000 (09:35 -0400)]
m_ldapauth: fix providing username in PASS

This has never worked because it never prepended attribute= to the
search string. It also would prefer matching nick/ident over the user
string provided which is inconsistent, since your ability to
authenticate using PASS would depend on a ldap entry not existing with
your current nick/ident.

Instead, use username provided in PASS and then fallback to nick/ident.

7 years agoMerge pull request #1308 from SaberUK/insp20+warnings
Adam [Mon, 20 Mar 2017 12:06:32 +0000 (08:06 -0400)]
Merge pull request #1308 from SaberUK/insp20+warnings

[2.0] Fix some compiler warnings.

7 years agocmd_who: don't show +p channels or channels hidden with m_hidechans
Adam [Mon, 20 Mar 2017 11:59:48 +0000 (07:59 -0400)]
cmd_who: don't show +p channels or channels hidden with m_hidechans

Fixes #1276

7 years agoFix some compiler warnings.
Peter Powell [Mon, 20 Mar 2017 10:24:01 +0000 (10:24 +0000)]
Fix some compiler warnings.

warning: macro name is a reserved identifier [-Wreserved-id-macro]
warning: extra ';' after member function definition [-Wextra-semi]