| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | properly fix the is_nsfw check this time | acdenisSK | 2018-07-02 | 1 | -2/+3 |
| | | |||||
| * | Simplify utils::is_nsfw | Zeyla Hellyer | 2018-07-02 | 1 | -1/+1 |
| | | |||||
| * | Fix 'nsfw-' case in utils::is_nsfw | Zeyla Hellyer | 2018-07-02 | 1 | -1/+1 |
| | | | | | | | In the utils::is_nsfw function, an input of 'nsfw-' shouldn't return true. Discord's (previous) NSFW detection classified 'nsfw' and anything starting with 'nsfw-' - but not including - as NSFW. | ||||
| * | Fix utils::is_nsfw string slicing | Zeyla Hellyer | 2018-07-02 | 1 | -0/+14 |
| Removes string slicing on the input string, instead preferring to count chars and work off that information. Fixes channel names with unicode such as `général`. Fixes #342. | |||||