diff options
author | Benny Morrison <benmorrison@ttm.sh> | 2019-03-17 21:09:21 -0400 |
---|---|---|
committer | Benny Morrison <benmorrison@ttm.sh> | 2019-03-17 21:09:21 -0400 |
commit | aacc26efd314c4dbf7e1865d5527b50d9a54876f (patch) | |
tree | 7eacf96a397f99a422a49bf1007b0882c704963a | |
parent | 21ee5de48bc82624ad330241fd89f5daefe35d43 (diff) | |
download | goofbot-aacc26efd314c4dbf7e1865d5527b50d9a54876f.tar.gz |
adjusted !users sanitize section
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go index b43381e..ee74072 100644 --- a/main.go +++ b/main.go @@ -142,7 +142,9 @@ func main() { userlist := strings.Split(out.String(), " ") var sanilist string for i, e := range userlist { - userlist[i] = "_" + e + if userlist[i] != " " { + userlist[i] = "_" + e + } } for i := range userlist { sanilist += userlist[i] |