summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2018-07-10 12:51:07 -0400
committerJoramWilander <jwawilander@gmail.com>2018-07-10 12:51:07 -0400
commit1e1a5e5e85240f25c4faddcb24c5a29a915fe6e4 (patch)
treed4c64bbd826259e494c05b829e228930f143489a /model/user.go
parent6daf82073de808a9c7f22fe8f75be815835362cc (diff)
parent9470564d355c201155f6fcb123152b8ac954f812 (diff)
downloadchat-1e1a5e5e85240f25c4faddcb24c5a29a915fe6e4.tar.gz
chat-1e1a5e5e85240f25c4faddcb24c5a29a915fe6e4.tar.bz2
chat-1e1a5e5e85240f25c4faddcb24c5a29a915fe6e4.zip
Merge branch 'master' into plugins-2
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/user.go b/model/user.go
index c5d6c13b6..e56f3aaed 100644
--- a/model/user.go
+++ b/model/user.go
@@ -565,6 +565,7 @@ var restrictedUsernames = []string{
"all",
"channel",
"matterbot",
+ "system",
}
func IsValidUsername(s string) bool {