From ec7ce09ef45c491ea833ca39ee2dc0ff3cdf5f90 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 22 Dec 2016 20:52:43 -0500 Subject: Make User::Mask behave more like 1.8 --- include/users.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 6f50d0cbd..27fce6cf8 100644 --- a/include/users.h +++ b/include/users.h @@ -347,10 +347,9 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe /* 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; -- cgit