some sugar.

master
Robert "ar" Gerus 2013-06-09 15:30:31 +02:00
parent 6e7fd868e2
commit 3222d15314
1 changed files with 4 additions and 3 deletions

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
}