diff options
| author | 2020-11-01 00:32:38 +0000 | |
|---|---|---|
| committer | 2020-11-01 00:32:38 +0000 | |
| commit | e7837aa2ca339bc0e9d27496a02c5520bdecd674 (patch) | |
| tree | 6ba33424870c9a8dba25feb10ef23ae59de74f0f | |
| parent | Use auto for config code in more places. (diff) | |
| parent | Release v3.8.0. (diff) | |
Merge branch 'insp3' into master.
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | include/flat_map.h | 2 | ||||
| -rw-r--r-- | make/configure.pm | 1 | ||||
| -rw-r--r-- | make/directive.pm | 2 | ||||
| -rw-r--r-- | make/template/inspircd-genssl.1 | 3 | ||||
| -rw-r--r-- | make/template/main.mk | 1 | ||||
| -rw-r--r-- | src/coremods/core_user/core_user.cpp | 2 | ||||
| -rw-r--r-- | src/coremods/core_user/core_user.h | 2 | ||||
| -rw-r--r-- | src/coremods/core_xline/core_xline.cpp | 2 | ||||
| -rw-r--r-- | src/helperfuncs.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_cban.cpp | 1 | ||||
| -rw-r--r-- | src/modules/m_check.cpp | 1 | ||||
| -rw-r--r-- | src/modules/m_cloaking.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_dnsbl.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_joinflood.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_shun.cpp | 5 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/server.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/treesocket.h | 2 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 2 | ||||
| -rw-r--r-- | src/server.cpp | 2 | ||||
| -rw-r--r-- | src/users.cpp | 5 | ||||
| -rwxr-xr-x | tools/genssl | 1 | ||||
| -rw-r--r-- | vendor/README.md | 2 | ||||
| -rw-r--r-- | vendor/utfcpp/utf8/checked.h | 8 | ||||
| -rw-r--r-- | vendor/utfcpp/utf8/core.h | 8 |
25 files changed, 37 insertions, 27 deletions
@@ -2,6 +2,8 @@ # # InspIRCd -- Internet Relay Chat Daemon # +# Copyright (C) 2020 Nicole Kleinhoff <ilbelkyr@shalture.org> +# Copyright (C) 2020 Daniel Vassdal <shutter@canternet.org> # Copyright (C) 2019 Matt Schatz <genius3000@g3k.solutions> # Copyright (C) 2019 Anatole Denis <natolumin@rezel.net> # Copyright (C) 2017 emerson <github@emersonveenstra.net> diff --git a/include/flat_map.h b/include/flat_map.h index e424fecfe..bdc6ad7ab 100644 --- a/include/flat_map.h +++ b/include/flat_map.h @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2019-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2014 Attila Molnar <attilamolnar@hush.com> * * This file is part of InspIRCd. InspIRCd is free software: you can diff --git a/make/configure.pm b/make/configure.pm index 01fbe2d4c..f6045ef55 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -1,6 +1,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # +# Copyright (C) 2020 Nicole Kleinhoff <ilbelkyr@shalture.org> # Copyright (C) 2013-2020 Sadie Powell <sadie@witchery.services> # Copyright (C) 2012 Robby <robby@chatbelgie.be> # Copyright (C) 2007-2008 Craig Edwards <brain@inspircd.org> diff --git a/make/directive.pm b/make/directive.pm index e5e1bd234..8c3fd2241 100644 --- a/make/directive.pm +++ b/make/directive.pm @@ -1,7 +1,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # -# Copyright (C) 2016-2019 Sadie Powell <sadie@witchery.services> +# Copyright (C) 2016-2020 Sadie Powell <sadie@witchery.services> # # This file is part of InspIRCd. InspIRCd is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public diff --git a/make/template/inspircd-genssl.1 b/make/template/inspircd-genssl.1 index 7a1f70c6a..9456cad45 100644 --- a/make/template/inspircd-genssl.1 +++ b/make/template/inspircd-genssl.1 @@ -1,7 +1,8 @@ .\" .\" InspIRCd -- Internet Relay Chat Daemon .\" -.\" Copyright (C) 2014, 2016, 2018 Sadie Powell <sadie@witchery.services> +.\" Copyright (C) 2020 Nicole Kleinhoff <ilbelkyr@shalture.org> +.\" Copyright (C) 2014, 2016, 2018, 2020 Sadie Powell <sadie@witchery.services> .\" .\" This file is part of InspIRCd. InspIRCd is free software: you can .\" redistribute it and/or modify it under the terms of the GNU General Public diff --git a/make/template/main.mk b/make/template/main.mk index 3861d0d0c..3d7ffd504 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -2,6 +2,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # +# Copyright (C) 2020 Nicole Kleinhoff <ilbelkyr@shalture.org> # Copyright (C) 2018 Puck Meerburg <puck@puckipedia.com> # Copyright (C) 2012-2020 Sadie Powell <sadie@witchery.services> # Copyright (C) 2012, 2015-2016 Attila Molnar <attilamolnar@hush.com> diff --git a/src/coremods/core_user/core_user.cpp b/src/coremods/core_user/core_user.cpp index 9d81fadf4..c97797330 100644 --- a/src/coremods/core_user/core_user.cpp +++ b/src/coremods/core_user/core_user.cpp @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2017-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2017-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2014-2016, 2018 Attila Molnar <attilamolnar@hush.com> * * This file is part of InspIRCd. InspIRCd is free software: you can diff --git a/src/coremods/core_user/core_user.h b/src/coremods/core_user/core_user.h index 94f54674e..e24514e47 100644 --- a/src/coremods/core_user/core_user.h +++ b/src/coremods/core_user/core_user.h @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2017-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2017-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2014 Attila Molnar <attilamolnar@hush.com> * * This file is part of InspIRCd. InspIRCd is free software: you can diff --git a/src/coremods/core_xline/core_xline.cpp b/src/coremods/core_xline/core_xline.cpp index 0a683eee7..1ddc0e24e 100644 --- a/src/coremods/core_xline/core_xline.cpp +++ b/src/coremods/core_xline/core_xline.cpp @@ -4,7 +4,7 @@ * Copyright (C) 2019 linuxdaemon <linuxdaemon.irc@gmail.com> * Copyright (C) 2019 Matt Schatz <genius3000@g3k.solutions> * Copyright (C) 2018-2019 Robby <robby@chatbelgie.be> - * Copyright (C) 2017-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2017-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2014, 2016 Attila Molnar <attilamolnar@hush.com> * * This file is part of InspIRCd. InspIRCd is free software: you can diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index e4d928a4b..b923079b3 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -6,7 +6,7 @@ * Copyright (C) 2013 Daniel Vassdal <shutter@canternet.org> * Copyright (C) 2013 Adam <Adam@anope.org> * Copyright (C) 2012-2015 Attila Molnar <attilamolnar@hush.com> - * Copyright (C) 2012-2014, 2017-2018 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2012-2014, 2017-2018, 2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012, 2018 Robby <robby@chatbelgie.be> * Copyright (C) 2012 ChrisTX <xpipe@hotmail.de> * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org> diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 6b695f01d..eff429b3e 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -1,6 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2020 Michael <michaelhazell@hotmail.com> * Copyright (C) 2019 Matt Schatz <genius3000@g3k.solutions> * Copyright (C) 2018 linuxdaemon <linuxdaemon.irc@gmail.com> * Copyright (C) 2013, 2017-2018, 2020 Sadie Powell <sadie@witchery.services> diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 28cbc3d3b..3bbb39516 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -1,6 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2020 Matt Schatz <genius3000@g3k.solutions> * Copyright (C) 2013-2016 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2013, 2017-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be> diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index f4f76a033..dcf0463a4 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -6,7 +6,7 @@ * Copyright (C) 2016 Adam <Adam@anope.org> * Copyright (C) 2014 Thomas Fargeix <t.fargeix@gmail.com> * Copyright (C) 2013, 2018 Attila Molnar <attilamolnar@hush.com> - * Copyright (C) 2013, 2016-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2016-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012 Robby <robby@chatbelgie.be> * Copyright (C) 2011 jackmcbarn <jackmcbarn@inspircd.org> * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org> diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 2b8665629..14e55b990 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 2018-2020 Matt Schatz <genius3000@g3k.solutions> * Copyright (C) 2018-2019 linuxdaemon <linuxdaemon.irc@gmail.com> - * Copyright (C) 2013, 2016-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2016-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2013, 2015-2016 Adam <Adam@anope.org> * Copyright (C) 2012-2016 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2012, 2018 Robby <robby@chatbelgie.be> diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index e049d4b42..348567c1e 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2013, 2016-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2016-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012-2014 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be> * Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org> diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 9e5dcbc35..f6f34c326 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -5,17 +5,16 @@ * Copyright (C) 2018 linuxdaemon <linuxdaemon.irc@gmail.com> * Copyright (C) 2017-2018 B00mX0r <b00mx0r@aureus.pw> * Copyright (C) 2013, 2017-2018, 2020 Sadie Powell <sadie@witchery.services> - * Copyright (C) 2012-2016 Attila Molnar <attilamolnar@hush.com> + * Copyright (C) 2012-2013, 2015-2016 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2012, 2018-2019 Robby <robby@chatbelgie.be> * Copyright (C) 2012 Jens Voss <DukePyrolator@anope.org> * Copyright (C) 2009 Uli Schlachter <psychon@inspircd.org> - * Copyright (C) 2009 Matt Smith <dz@inspircd.org> * Copyright (C) 2009 John Brooks <special@inspircd.org> * Copyright (C) 2009 Dennis Friis <peavey@inspircd.org> * Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org> * Copyright (C) 2008-2010 Craig Edwards <brain@inspircd.org> - * Copyright (C) 2008-2009 Robin Burchell <robin+git@viroteck.net> * Copyright (C) 2008 Thomas Stagner <aquanight@inspircd.org> + * Copyright (C) 2008 Robin Burchell <robin+git@viroteck.net> * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp index 1cd5608b7..b12c2e5e5 100644 --- a/src/modules/m_spanningtree/server.cpp +++ b/src/modules/m_spanningtree/server.cpp @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2013, 2017-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2017-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012-2016 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be> * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org> diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h index a21854ef4..5afe6e3aa 100644 --- a/src/modules/m_spanningtree/treesocket.h +++ b/src/modules/m_spanningtree/treesocket.h @@ -2,7 +2,7 @@ * InspIRCd -- Internet Relay Chat Daemon * * Copyright (C) 2019 Matt Schatz <genius3000@g3k.solutions> - * Copyright (C) 2013, 2017-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2017-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012-2015 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be> * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org> diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index b4a86f017..1bef9cbb4 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2013, 2017-2019 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2017-2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012-2016 Attila Molnar <attilamolnar@hush.com> * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be> * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org> diff --git a/src/server.cpp b/src/server.cpp index e5449f71a..c35f96e2a 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 2019 nia <nia@netbsd.org> * Copyright (C) 2013-2014, 2016 Attila Molnar <attilamolnar@hush.com> - * Copyright (C) 2013, 2016-2017 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2016-2017, 2020 Sadie Powell <sadie@witchery.services> * Copyright (C) 2013 Adam <Adam@anope.org> * Copyright (C) 2012 Robby <robby@chatbelgie.be> * Copyright (C) 2012 ChrisTX <xpipe@hotmail.de> diff --git a/src/users.cpp b/src/users.cpp index b57e51644..c6e5575ec 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1067,7 +1067,10 @@ void User::ChangeRealHost(const std::string& host, bool resetdisplay) if (!changehost) return; - FOREACH_MOD(OnChangeRealHost, (this, host)); + // Don't call the OnChangeRealHost event when initialising a user. + if (!realhost.empty()) + FOREACH_MOD(OnChangeRealHost, (this, host)); + realhost = host; this->InvalidateCache(); } diff --git a/tools/genssl b/tools/genssl index f4c38fd2e..337244292 100755 --- a/tools/genssl +++ b/tools/genssl @@ -2,6 +2,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # +# Copyright (C) 2020 Nicole Kleinhoff <ilbelkyr@shalture.org> # Copyright (C) 2013-2017, 2020 Sadie Powell <sadie@witchery.services> # # This file is part of InspIRCd. InspIRCd is free software: you can diff --git a/vendor/README.md b/vendor/README.md index b6445d791..1f5396be2 100644 --- a/vendor/README.md +++ b/vendor/README.md @@ -38,7 +38,7 @@ This directory contains vendored dependencies that are shipped with InspIRCd to **License** — Boost Software License -**Version** — v3.1.1 +**Version** — v3.1.2 **Website** — [https://github.com/nemtrif/utfcpp](https://github.com/nemtrif/utfcpp) diff --git a/vendor/utfcpp/utf8/checked.h b/vendor/utfcpp/utf8/checked.h index 648636e46..71b9076f6 100644 --- a/vendor/utfcpp/utf8/checked.h +++ b/vendor/utfcpp/utf8/checked.h @@ -42,7 +42,7 @@ namespace utf8 uint32_t cp; public: invalid_code_point(uint32_t codepoint) : cp(codepoint) {} - virtual const char* what() const NOEXCEPT OVERRIDE { return "Invalid code point"; } + virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Invalid code point"; } uint32_t code_point() const {return cp;} }; @@ -50,7 +50,7 @@ namespace utf8 uint8_t u8; public: invalid_utf8 (uint8_t u) : u8(u) {} - virtual const char* what() const NOEXCEPT OVERRIDE { return "Invalid UTF-8"; } + virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Invalid UTF-8"; } uint8_t utf8_octet() const {return u8;} }; @@ -58,13 +58,13 @@ namespace utf8 uint16_t u16; public: invalid_utf16 (uint16_t u) : u16(u) {} - virtual const char* what() const NOEXCEPT OVERRIDE { return "Invalid UTF-16"; } + virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Invalid UTF-16"; } uint16_t utf16_word() const {return u16;} }; class not_enough_room : public exception { public: - virtual const char* what() const NOEXCEPT OVERRIDE { return "Not enough space"; } + virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Not enough space"; } }; /// The library API - functions intended to be called by the users diff --git a/vendor/utfcpp/utf8/core.h b/vendor/utfcpp/utf8/core.h index 244e89231..de6199f2a 100644 --- a/vendor/utfcpp/utf8/core.h +++ b/vendor/utfcpp/utf8/core.h @@ -39,11 +39,11 @@ DEALINGS IN THE SOFTWARE. #endif #if UTF_CPP_CPLUSPLUS >= 201103L // C++ 11 or later - #define OVERRIDE override - #define NOEXCEPT noexcept + #define UTF_CPP_OVERRIDE override + #define UTF_CPP_NOEXCEPT noexcept #else // C++ 98/03 - #define OVERRIDE - #define NOEXCEPT throw() + #define UTF_CPP_OVERRIDE + #define UTF_CPP_NOEXCEPT throw() #endif // C++ 11 or later |
