diff --git a/js/inputbar.js b/js/inputbar.js index 8553c07..701b4b9 100644 --- a/js/inputbar.js +++ b/js/inputbar.js @@ -118,7 +118,7 @@ weechat.directive('inputBar', function() { } // New style clearing requires this, old does not - if (parseInt(models.version.charAt(0)) >= 1) { + if (models.version[0] >= 1) { connection.sendHotlistClear(); }