Possible fix.

Fixes the issue described here: http://www.spigotmc.org/threads/bungeechat.1278/page-2#post-13454