Fixed my own issue #855

Instead of spitting errors, it does nothing with the clipboard if the
string is empty.

Tested on my server. No side effects noticed.