fix another version check

This commit is contained in:
Tor Hveem 2015-09-17 08:59:38 +02:00
parent 1f89a0ef0b
commit 1f37f848fc

View File

@ -118,7 +118,7 @@ weechat.directive('inputBar', function() {
} }
// New style clearing requires this, old does not // New style clearing requires this, old does not
if (parseInt(models.version.charAt(0)) >= 1) { if (models.version[0] >= 1) {
connection.sendHotlistClear(); connection.sendHotlistClear();
} }