RainActive: aesthetic message fixes

This commit is contained in:
moneromooo 2015-01-20 14:56:41 +00:00
parent 1925f1e704
commit 92bf49a4c4

View file

@ -284,8 +284,8 @@ def RainActive(link,cmd):
return
pipe.execute()
log_info("%s rained %s - %s (total %s, acc %s) on the %d nicks active in the last %s hours" % (identity, AmountToString(minu), AmountToString(maxu), AmountToString(units), AmountToString(rained_units), nnicks, TimeToString(seconds)))
link.send("%s rained %s - %s on the %d nicks active in the last %s hours" % (identity, AmountToString(minu), AmountToString(maxu), nnicks, TimeToString(seconds)))
log_info("%s rained %s - %s (total %s, acc %s) on the %d nicks active in the last %s" % (identity, AmountToString(minu), AmountToString(maxu), AmountToString(units), AmountToString(rained_units), nnicks, TimeToString(seconds)))
link.send("%s rained %s - %s on the %d nicks active in the last %s" % (link.user.nick, AmountToString(minu), AmountToString(maxu), nnicks, TimeToString(seconds)))
except Exception,e:
log_error('Rain: exception: %s' % str(e))