summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/users.h b/include/users.h
index be4ee2a39..de9cc5b42 100644
--- a/include/users.h
+++ b/include/users.h
@@ -71,6 +71,8 @@ class CoreExport User : public virtual Base, public virtual Extensible, public C
public:
UserType type = UserType::USER;
+ Logger logger;
+
/* User's current nick */
Anope::string nick;
@@ -367,12 +369,11 @@ class CoreExport User : public virtual Base, public virtual Extensible, public C
/* Returns a mask that will most likely match any address the
* user will have from that location. For IP addresses, wildcards the
- * appropriate subnet mask (e.g. 35.1.1.1 -> 35.*; 128.2.1.1 -> 128.2.*);
- * for named addresses, wildcards the leftmost part of the name unless the
- * name only contains two parts. If the username begins with a ~, delete
- * it.
+ * last octet (e.g. 35.1.1.1 -> 35.1.1.*). for named addresses, wildcards
+ * the leftmost part of the name unless the name only contains two parts.
+ * If the username begins with a ~, replace with *.
*/
- Anope::string Mask() const;
+ Anope::string WildMask() const;
/** Notes the usage of an incorrect password. If too many
* incorrect passwords are used the user might be killed.