some sugar.

This commit is contained in:
Robert "ar" Gerus 2013-06-09 15:30:31 +02:00
parent 6e7fd868e2
commit 3222d15314

View file

@ -15,9 +15,10 @@ Client.register_command("at") { |args|
end
}
r_msg += "now: #{now.join(' ')} " if not now.empty?
r_msg += "recently: #{recently.join(' ')} " if not recently.empty?
r_msg += "unknown: #{h["unknown"]} " if h["unknown"] > 0
r_msg += "now: #{now.join(' ')}; " if not now.empty?
r_msg += "recently: #{recently.join(' ')}; " if not recently.empty?
r_msg += Config[:commands][:at][:empty] if now.empty? and recently.empty?
r_msg += "unknown: #{h["unknown"]}; " if h["unknown"] > 0
r_msg
}