From 5dd5fa46440f9d76a725bfdf16d77bbb36ae7a6f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 28 Sep 2020 15:29:45 +0100 Subject: [PATCH] Rename unreal4 to unrealircd and inspircd3 to inspircd. --- data/anope.example.conf | 6 +++--- data/stats.standalone.example.conf | 6 +++--- modules/protocol/{inspircd3.cpp => inspircd.cpp} | 14 +++++++------- modules/protocol/{unreal4.cpp => unrealircd.cpp} | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) rename modules/protocol/{inspircd3.cpp => inspircd.cpp} (99%) rename modules/protocol/{unreal4.cpp => unrealircd.cpp} (99%) diff --git a/data/anope.example.conf b/data/anope.example.conf index d599c7e39..7ceb0cef6 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -254,15 +254,15 @@ serverinfo * - bahamut * - charybdis * - hybrid - * - inspircd3 + * - inspircd * - ngircd * - plexus * - ratbox - * - unreal4 (for 4.x or later) + * - unrealircd */ module { - name = "inspircd3" + name = "inspircd" /* * Some protocol modules can enforce mode locks server-side. This reduces the spam caused by diff --git a/data/stats.standalone.example.conf b/data/stats.standalone.example.conf index 93d85811c..6f1dc7bfc 100644 --- a/data/stats.standalone.example.conf +++ b/data/stats.standalone.example.conf @@ -254,15 +254,15 @@ serverinfo * - bahamut * - charybdis * - hybrid - * - inspircd3 + * - inspircd * - ngircd * - plexus * - ratbox - * - unreal4 (for 4.x or later) + * - unrealircd */ module { - name = "inspircd3" + name = "inspircd" } /* diff --git a/modules/protocol/inspircd3.cpp b/modules/protocol/inspircd.cpp similarity index 99% rename from modules/protocol/inspircd3.cpp rename to modules/protocol/inspircd.cpp index 71d45f9a8..e597ce958 100644 --- a/modules/protocol/inspircd3.cpp +++ b/modules/protocol/inspircd.cpp @@ -1,4 +1,4 @@ -/* InspIRCd 3.0 functions +/* InspIRCd functions * * (C) 2003-2020 Anope Team * Contact us at team@anope.org @@ -24,7 +24,7 @@ static std::list saslusers; static Anope::string rsquit_server, rsquit_id; -class InspIRCd3Proto : public IRCDProto +class InspIRCdProto : public IRCDProto { private: void SendChgIdentInternal(const Anope::string &nick, const Anope::string &vIdent) @@ -54,7 +54,7 @@ class InspIRCd3Proto : public IRCDProto } public: - InspIRCd3Proto(Module *creator) : IRCDProto(creator, "InspIRCd 3") + InspIRCdProto(Module *creator) : IRCDProto(creator, "InspIRCd 3+") { DefaultPseudoclientModes = "+I"; CanSVSNick = true; @@ -1794,9 +1794,9 @@ struct IRCDMessageUID : IRCDMessage } }; -class ProtoInspIRCd3 : public Module +class ProtoInspIRCd : public Module { - InspIRCd3Proto ircd_proto; + InspIRCdProto ircd_proto; ExtensibleItem ssl; /* Core message handlers */ @@ -1843,7 +1843,7 @@ class ProtoInspIRCd3 : public Module } public: - ProtoInspIRCd3(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR), + ProtoInspIRCd(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR), ircd_proto(this), ssl(this, "ssl"), message_error(this), message_invite(this), message_kill(this), message_motd(this), message_notice(this), message_part(this), message_privmsg(this), message_quit(this), message_stats(this), @@ -1937,4 +1937,4 @@ class ProtoInspIRCd3 : public Module } }; -MODULE_INIT(ProtoInspIRCd3) +MODULE_INIT(ProtoInspIRCd) diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unrealircd.cpp similarity index 99% rename from modules/protocol/unreal4.cpp rename to modules/protocol/unrealircd.cpp index 3f30abffa..99466074d 100644 --- a/modules/protocol/unreal4.cpp +++ b/modules/protocol/unrealircd.cpp @@ -1,4 +1,4 @@ -/* Unreal IRCD 4 functions +/* UnrealIRCd functions * * (C) 2003-2020 Anope Team * Contact us at team@anope.org