Only support the weechat defaults for clearing buffer

This commit is contained in:
Tor Hveem 2014-05-07 18:55:48 +02:00
parent f21cf4c046
commit 695c429c4f

View file

@ -1264,7 +1264,7 @@ weechat.directive('inputBar', function() {
}); });
// Check for /clear command // Check for /clear command
if ($scope.command === '/clear' || $scope.command === '/c') { if ($scope.command === '/buffer clear' || $scope.command === '/c') {
$log.debug('Clearing lines'); $log.debug('Clearing lines');
ab.clear(); ab.clear();
} }