aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-05 03:32:10 +0000
committerGravatar Sadie Powell2021-03-05 03:32:10 +0000
commit69401aa1eae449f4f1bfa9bcfe5027630e7f2ee5 (patch)
tree2dc9dfcfef7e908626b126fcd982a2d587e07a35
parentMerge branch 'insp3' into master. (diff)
Rename gecosban to realnameban.
-rw-r--r--docs/conf/helpop.conf.example4
-rw-r--r--docs/conf/modules.conf.example12
-rw-r--r--src/modules/m_chgname.cpp2
-rw-r--r--src/modules/m_realnameban.cpp (renamed from src/modules/m_gecosban.cpp)2
-rw-r--r--src/modules/m_setname.cpp2
5 files changed, 11 insertions, 11 deletions
diff --git a/docs/conf/helpop.conf.example b/docs/conf/helpop.conf.example
index 53c73fc02..fc8c5c717 100644
--- a/docs/conf/helpop.conf.example
+++ b/docs/conf/helpop.conf.example
@@ -1097,13 +1097,13 @@ Matching extbans:
a:<mask> Matches user with both a matching banmask and real name,
where <mask> is in the format nick!user@host+realname
- (requires gecosban module).
+ (requires realnameban module).
j:<channel> Matches anyone in the given channel. Does not support
wildcards (requires the channelban module).
n:<class> Matches users in a matching connect class (requires
the classban module).
r:<realname> Matches users with a matching real name (requires the
- gecosban module).
+ realnameban module).
s:<server> Matches users on a matching server (requires the
serverban module).
z:<certfp> Matches users having the given TLS (SSL) certificate
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index 95f084df9..66ad1522e 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -919,12 +919,6 @@
#<include file="examples/filter.conf.example">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Real name ban: Implements two extended bans: #
-# 'a', which matches a n!u@h+realname mask like +b a:*!*@host+*real* #
-# 'r', which matches a realname mask like +b r:*realname?here* #
-#<module name="gecosban">
-
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Geolocation ban module: Adds support for extban 'G' which matches #
# against the ISO 3166-1 alpha-2 codes for the countries that users #
# are connecting from. Users connecting from unknown origins such as #
@@ -1754,6 +1748,12 @@
#<randquote file="quotes.txt">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# Real name ban: Implements two extended bans: #
+# 'a', which matches a n!u@h+realname mask like +b a:*!*@host+*real* #
+# 'r', which matches a realname mask like +b r:*realname?here* #
+#<module name="realnameban">
+
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Redirect module: Adds channel mode +L which redirects users to #
# another channel when the channel has reached its user limit and #
# user mode +L which stops redirection. #
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp
index 9568abc4c..2e8db5d4b 100644
--- a/src/modules/m_chgname.cpp
+++ b/src/modules/m_chgname.cpp
@@ -83,7 +83,7 @@ class ModuleChgName : public Module
public:
ModuleChgName()
- : Module(VF_VENDOR | VF_OPTCOMMON, "Adds the /CHGNAME command which allows server operators to change the real name (gecos) of a user.")
+ : Module(VF_VENDOR | VF_OPTCOMMON, "Adds the /CHGNAME command which allows server operators to change the real name of a user.")
, cmd(this)
{
}
diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_realnameban.cpp
index edcad7b9c..581c8aa7e 100644
--- a/src/modules/m_gecosban.cpp
+++ b/src/modules/m_realnameban.cpp
@@ -75,7 +75,7 @@ class ModuleGecosBan
public:
ModuleGecosBan()
- : Module(VF_VENDOR | VF_OPTCOMMON, "Adds the r: extended ban which checks whether users have a real name (gecos) matching the specified glob pattern.")
+ : Module(VF_VENDOR | VF_OPTCOMMON, "Adds the r: extended ban which checks whether users have a real name matching the specified glob pattern.")
, maskextban(this)
, realextban(this)
{
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index a55c0bfeb..37f17be8c 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -74,7 +74,7 @@ class ModuleSetName : public Module
public:
ModuleSetName()
- : Module(VF_VENDOR, "Adds the /SETNAME command which allows users to change their real name (gecos).")
+ : Module(VF_VENDOR, "Adds the /SETNAME command which allows users to change their real name.")
, cmd(this)
, setnameevprov(this, "SETNAME")
{