Merge pull request #620 from glowing-bear/noswitch

Use -noswitch option to open buffers
This commit is contained in:
Tor Hveem 2015-09-17 09:05:35 +02:00
commit cf771eb73f
5 changed files with 15 additions and 6 deletions

View file

@ -267,7 +267,7 @@ weechat.factory('connection',
};
var sendHotlistClear = function() {
if (parseInt(models.version.charAt(0)) >= 1) {
if (models.version[0] >= 1) {
// WeeChat >= 1 supports clearing hotlist with this command
sendMessage('/buffer set hotlist -1');
// Also move read marker