From f6525224ff28251479c0bb009999393ea6409ce0 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Sat, 22 Aug 2015 19:36:49 +0200 Subject: [PATCH] fix versioncheck --- js/inputbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/inputbar.js b/js/inputbar.js index 6fc4067..0188cb2 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 (parseInt(models.version[0]) >= 1) { connection.sendHotlistClear(); }