Are you using an alias/remote script to manage the ban command? If so check that out. The message just means that there is a "}" missing towards the end of the alias/script.