diff options
Diffstat (limited to 'gentoo-fixup.rb')
-rw-r--r-- | gentoo-fixup.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gentoo-fixup.rb b/gentoo-fixup.rb index 6ff1243..9c995f0 100644 --- a/gentoo-fixup.rb +++ b/gentoo-fixup.rb @@ -94,13 +94,16 @@ class GentooFixupPlugin < Plugin def reply_actual_channels(m, channels) m.reply "Actual channels (#{channels.size}): " + channels.to_a.sort.join(', ') end + def say_awol_channels(m, params) @action = 'AWOL' @old_m = m do_lookup(m, params) end + def reply_awol_channels(m, channels) - m.reply "AWOL channels (#{channels.size}): " + channels.to_a.sort.join(', ') + missing_channels = awol_channels(channels).to_a.sort + m.reply "AWOL channels (#{missing_channels.size}): " + missing_channels.to_a.sort.join(', ') end |