summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model')
-rw-r--r--includes/model/User_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/User_model.php b/includes/model/User_model.php
index 6cf1c2d7..2d1767e6 100644
--- a/includes/model/User_model.php
+++ b/includes/model/User_model.php
@@ -273,7 +273,7 @@ function User_ids()
*/
function User_validate_Nick($nick)
{
- return preg_replace('/([^\p{L}\p{N}-_ ]+)/ui', '', trim($nick));
+ return preg_replace('/([^\p{L}\p{N}-_. ]+)/ui', '', trim($nick));
}
/**