mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Rename the namesx module to multiprefix.
Now the module only implements the IRCv3 capability this is a more accurate name. If users want the protoctl method they can install the protoctl module from contrib as before.
This commit is contained in:
parent
16b85a93e9
commit
b17a3abbd1
@ -297,9 +297,8 @@
|
||||
# cooldown="1m">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# CAP module: Provides the CAP negotiation mechanism required by the
|
||||
# sasl, namesx, uhnames, and ircv3 modules.
|
||||
# It is also recommended for STARTTLS support in the starttls module.
|
||||
# CAP module: Provides the CAP negotiation mechanism required by many
|
||||
# other modules. It is strongly recommended that you load this.
|
||||
#<module name="cap">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
@ -1630,6 +1629,12 @@
|
||||
# Set the maximum number of entries on a user's monitor list below.
|
||||
#<monitor maxentries="30">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# Multiple prefix module: Provides support for the IRCv3 multi-prefix
|
||||
# capability which allows clients to see all the prefix modes set on a
|
||||
# user.
|
||||
#<module name="multiprefix">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# MySQL module: Allows other SQL modules to access MySQL databases
|
||||
# through a unified API.
|
||||
@ -1659,11 +1664,6 @@
|
||||
# /PROP #channel ban=foo!bar@baz
|
||||
#<module name="namedmodes">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# NAMESX module: Provides support for the IRCv3 multi-prefix capability
|
||||
# which allows clients to see all the prefix modes set on a user.
|
||||
#<module name="namesx">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# Nickchange flood protection module: Provides channel mode +F X:Y
|
||||
# which allows up to X nick changes in Y seconds.
|
||||
|
@ -682,6 +682,8 @@ std::vector<std::string> ServerConfig::GetModules() const
|
||||
modules.push_back("help");
|
||||
modules.push_back("helpmode");
|
||||
}
|
||||
else if (insp::equalsci(shortname, "namesx"))
|
||||
modules.push_back("multiprefix");
|
||||
else if (insp::equalsci(shortname, "regex_pcre2"))
|
||||
modules.push_back("regex_pcre");
|
||||
else if (insp::equalsci(shortname, "sha256"))
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "modules/who.h"
|
||||
#include "modules/whois.h"
|
||||
|
||||
class ModuleNamesX final
|
||||
class ModuleMultiPrefix final
|
||||
: public Module
|
||||
, public Names::EventListener
|
||||
, public Who::EventListener
|
||||
@ -39,7 +39,7 @@ private:
|
||||
Cap::Capability cap;
|
||||
|
||||
public:
|
||||
ModuleNamesX()
|
||||
ModuleMultiPrefix()
|
||||
: Module(VF_VENDOR, "Provides the IRCv3 multi-prefix client capability.")
|
||||
, Names::EventListener(this)
|
||||
, Who::EventListener(this)
|
||||
@ -121,4 +121,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
MODULE_INIT(ModuleNamesX)
|
||||
MODULE_INIT(ModuleMultiPrefix)
|
Loading…
x
Reference in New Issue
Block a user