fix another version check
This commit is contained in:
parent
1f89a0ef0b
commit
1f37f848fc
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user