kylemcshea / homestead-vorp

Dream-VORP is a community-driven project enhancing the original VORP Core software. We focus on performance optimizations, code readability, and bug fixes. Our aim is to build upon VORP Core's foundation while acknowledging their invaluable work. Join us in refining this software!
GNU General Public License v3.0
3 stars 0 forks source link

hotfix(vorp_char/cl): check if names are empty after removing spaces #41

Closed kylemcshea closed 1 year ago

Shehabginem commented 1 year ago

The code replaces all spaces with empty strings and checks if the resulting string is empty. If it is, the function returns cb(nil) to prevent the blank name from being accepted.

kylemcshea commented 1 year ago

thanks gpt