diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/user.go b/model/user.go index 2a7427748..bad616d73 100644 --- a/model/user.go +++ b/model/user.go @@ -413,6 +413,7 @@ var validUsernameChars = regexp.MustCompile(`^[a-z0-9\.\-_]+$`) var restrictedUsernames = []string{ "all", "channel", + "matterbot", } func IsValidUsername(s string) bool { |