psound.rb
# Print the list of muted buffers.
Print the list of muted buffers.
Print the list of muted buffers .
def print_muted_buffers
  if $muted_buffers.empty?
    Weechat.print('', 'No muted buffer.')
  else
    prefix = $muted_buffers.size == 1 ? 'Muted buffer' : 'Muted buffers'
    Weechat.print('', "#{prefix}: #{$muted_buffers.to_a.join(', ')}")
  end
end
def print_muted_buffers if $muted_buffers . empty? Weechat . print ( '' , 'No muted buffer.' ) else prefix = $muted_buffers . size == 1 ? 'Muted buffer' : 'Muted buffers' Weechat . print ( '' , "#{prefix}: #{$muted_buffers.to_a.join(', ')}" ) end end
Print the list of muted buffers.
Print the list of muted buffers .