diff options
| author | Sadie Powell <sadie@witchery.services> | 2022-01-12 22:05:59 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2022-01-12 22:08:35 +0000 |
| commit | a631028660d527f509c3b028cfa5f2903a125077 (patch) | |
| tree | 830ba6644bb312af32847db654bfb842ed44a7cd /src | |
| parent | 4e5fc9797c2ea285e855f808dc65694d1cdba358 (diff) | |
| parent | 04257b9d6ab0fa1a63ade1d2ad0edc2d08eb74ce (diff) | |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'src')
62 files changed, 65 insertions, 62 deletions
diff --git a/src/access.cpp b/src/access.cpp index ea9d8c657..cfb4152b8 100644 --- a/src/access.cpp +++ b/src/access.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/account.cpp b/src/account.cpp index e9768161b..65df38978 100644 --- a/src/account.cpp +++ b/src/account.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/base.cpp b/src/base.cpp index b52157859..840d1d359 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/base64.cpp b/src/base64.cpp index c5bec134d..5c0171b71 100644 --- a/src/base64.cpp +++ b/src/base64.cpp @@ -1,6 +1,6 @@ /* base64 routines. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/bots.cpp b/src/bots.cpp index 94b688f0d..0ea337eb9 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -1,7 +1,7 @@ /* * * (C) 2008-2011 Robin Burchell <w00t@inspircd.org> - * (C) 2008-2021 Anope Team <team@anope.org> + * (C) 2008-2022 Anope Team <team@anope.org> * * Please read COPYING and README for further details. */ diff --git a/src/channels.cpp b/src/channels.cpp index 77f23ea45..08998de77 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -1,6 +1,6 @@ /* Channel-handling routines. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/command.cpp b/src/command.cpp index 5216563d8..4c511777a 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -1,7 +1,7 @@ /* * * (C) 2008-2011 Robin Burchell <w00t@inspircd.org> - * (C) 2008-2021 Anope Team <team@anope.org> + * (C) 2008-2022 Anope Team <team@anope.org> * * Please read COPYING and README for further details. */ diff --git a/src/config.cpp b/src/config.cpp index ae9529b21..c6ead071e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -1,6 +1,6 @@ /* Configuration file handling. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/extensible.cpp b/src/extensible.cpp index 2bb7c991f..796c7cdfd 100644 --- a/src/extensible.cpp +++ b/src/extensible.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 9497078d7..409e125ac 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -1,7 +1,7 @@ /* * * (C) 2002-2011 InspIRCd Development Team - * (C) 2008-2021 Anope Team <team@anope.org> + * (C) 2008-2022 Anope Team <team@anope.org> * * Please read COPYING and README for further details. */ diff --git a/src/init.cpp b/src/init.cpp index a1dd04e65..5df2c1cce 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1,6 +1,6 @@ /* Initialization and related routines. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/language.cpp b/src/language.cpp index 69b65cafd..8c39941b4 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/logger.cpp b/src/logger.cpp index c39219440..807895396 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -1,6 +1,6 @@ /* Logging routines. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/mail.cpp b/src/mail.cpp index 2f765dac4..c5e465666 100644 --- a/src/mail.cpp +++ b/src/mail.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. @@ -41,6 +41,8 @@ void Mail::Message::Run() else fprintf(pipe, "To: \"%s\" <%s>\n", mail_to.c_str(), addr.c_str()); fprintf(pipe, "Subject: %s\n", subject.c_str()); + fprintf(pipe, "Content-Type: text/plain; charset=UTF-8;\n"); + fprintf(pipe, "Content-Transfer-Encoding: 8bit\n"); fprintf(pipe, "\n"); fprintf(pipe, "%s", message.c_str()); fprintf(pipe, "\n.\n"); diff --git a/src/main.cpp b/src/main.cpp index 5ea363f9d..4c48c45eb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,6 @@ /* Anope -- main source file. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/memos.cpp b/src/memos.cpp index 4c6ee8deb..278cc0157 100644 --- a/src/memos.cpp +++ b/src/memos.cpp @@ -1,6 +1,6 @@ /* MemoServ functions. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/messages.cpp b/src/messages.cpp index 5b747c7e3..a8ff6f7a7 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -1,6 +1,6 @@ /* Common message handlers * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. @@ -494,6 +494,7 @@ void Whois::Run(MessageSource &source, const std::vector<Anope::string> ¶ms, IRCD->SendNumeric(312, source.GetSource(), "%s %s :%s", u->nick.c_str(), Me->GetName().c_str(), Config->GetBlock("serverinfo")->Get<const Anope::string>("description").c_str()); if (bi) IRCD->SendNumeric(317, source.GetSource(), "%s %ld %ld :seconds idle, signon time", bi->nick.c_str(), static_cast<long>(Anope::CurTime - bi->lastmsg), static_cast<long>(bi->signon)); + IRCD->SendNumeric(313, source.GetSource(), "%s :is a Network Service", u->nick.c_str()); IRCD->SendNumeric(318, source.GetSource(), "%s :End of /WHOIS list.", u->nick.c_str()); } else diff --git a/src/misc.cpp b/src/misc.cpp index a94ea21db..0de63b748 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -1,6 +1,6 @@ /* Miscellaneous routines. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/modes.cpp b/src/modes.cpp index 0028ea37d..b7a9ec8bf 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -1,7 +1,7 @@ /* Mode support * * (C) 2008-2011 Adam <Adam@anope.org> - * (C) 2008-2021 Anope Team <team@anope.org> + * (C) 2008-2022 Anope Team <team@anope.org> * * Please read COPYING and README for further details. */ diff --git a/src/module.cpp b/src/module.cpp index f3c46f6fa..2881c4e82 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -1,6 +1,6 @@ /* Modular support * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 23b35e94e..3317a6f09 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -1,6 +1,6 @@ /* Modular support * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/nickalias.cpp b/src/nickalias.cpp index 3b9e761bb..81ad8f1d9 100644 --- a/src/nickalias.cpp +++ b/src/nickalias.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/nickcore.cpp b/src/nickcore.cpp index cde3e203f..65ebd9335 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/opertype.cpp b/src/opertype.cpp index 006e780b7..2dd756682 100644 --- a/src/opertype.cpp +++ b/src/opertype.cpp @@ -1,7 +1,7 @@ /* * * (C) 2008-2011 Robin Burchell <w00t@inspircd.org> - * (C) 2008-2021 Anope Team <team@anope.org> + * (C) 2008-2022 Anope Team <team@anope.org> * * Please read COPYING and README for further details. */ diff --git a/src/pipeengine.cpp b/src/pipeengine.cpp index 767a458f4..c38cbb62d 100644 --- a/src/pipeengine.cpp +++ b/src/pipeengine.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/process.cpp b/src/process.cpp index ddb0a8750..b72a24f91 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -1,6 +1,6 @@ /* Main processing code for Services. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/protocol.cpp b/src/protocol.cpp index 7027b64d0..708681d67 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/regchannel.cpp b/src/regchannel.cpp index d4c52bee0..e248e06c0 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -1,6 +1,6 @@ /* Registered channel functions * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/serialize.cpp b/src/serialize.cpp index 4c3e6f0f8..9c3619557 100644 --- a/src/serialize.cpp +++ b/src/serialize.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/servers.cpp b/src/servers.cpp index 5892b4f24..35577df73 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -1,6 +1,6 @@ /* Routines to maintain a list of connected servers * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/siphash.cpp b/src/siphash.cpp index 9460f085b..cb0b3fd53 100644 --- a/src/siphash.cpp +++ b/src/siphash.cpp @@ -1,6 +1,6 @@ /* SipHash-2-4 routines. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/socket_clients.cpp b/src/socket_clients.cpp index 3f257734d..7258bdf0b 100644 --- a/src/socket_clients.cpp +++ b/src/socket_clients.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/socket_transport.cpp b/src/socket_transport.cpp index 94c69facf..ffc5c03b2 100644 --- a/src/socket_transport.cpp +++ b/src/socket_transport.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp index b8de4bb79..626cd51be 100644 --- a/src/socketengines/socketengine_epoll.cpp +++ b/src/socketengines/socketengine_epoll.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/socketengines/socketengine_kqueue.cpp b/src/socketengines/socketengine_kqueue.cpp index 043ca9f74..6b3350d45 100644 --- a/src/socketengines/socketengine_kqueue.cpp +++ b/src/socketengines/socketengine_kqueue.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp index 26ea9427b..bf03096d1 100644 --- a/src/socketengines/socketengine_poll.cpp +++ b/src/socketengines/socketengine_poll.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index b7bf337e8..61466599c 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/sockets.cpp b/src/sockets.cpp index 84fb85098..061a8eb10 100644 --- a/src/sockets.cpp +++ b/src/sockets.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/threadengine.cpp b/src/threadengine.cpp index fc9ee742e..c0385afbc 100644 --- a/src/threadengine.cpp +++ b/src/threadengine.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/timers.cpp b/src/timers.cpp index 8c547b99b..abb8bfeaf 100644 --- a/src/timers.cpp +++ b/src/timers.cpp @@ -1,6 +1,6 @@ /* Timer stuff. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/tools/anoperc.in b/src/tools/anoperc.in index 73d756d3f..1f96d6294 100644 --- a/src/tools/anoperc.in +++ b/src/tools/anoperc.in @@ -2,7 +2,7 @@ # # Configuration script for Anope # -# (C) 2003-2021 Anope Team +# (C) 2003-2022 Anope Team # Contact us at team@anope.org # # Please read COPYING and README for further details. diff --git a/src/tools/anopesmtp.cpp b/src/tools/anopesmtp.cpp index f97af49ad..2ce6496b5 100644 --- a/src/tools/anopesmtp.cpp +++ b/src/tools/anopesmtp.cpp @@ -1,6 +1,6 @@ /* smtp stuff handler for win32. * - * (C) 2003-2021 Anope Team + * (C) 2003-2022 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. diff --git a/src/uplink.cpp b/src/uplink.cpp index c1c8404e4..03d8d99f1 100644 --- a/src/uplink.cpp +++ b/src/uplink.cpp @@ -1,6 +1,6 @@ /* * |
