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.
Merge pull request #856 from Redfiend/master

Fixed my own issue #855