Added non-persistent functinality to the TickerHandler, for specific use with OOB.

This commit is contained in:
Griatch 2016-03-24 19:44:18 +01:00
parent e09a172854
commit bece57f067
4 changed files with 36 additions and 20 deletions

View file

@ -777,12 +777,13 @@ class CmdTickers(MuxCommand):
if not all_subs:
self.caller.msg("No tickers are currently active.")
return
table = EvTable("tick(s)", "object", "path/methodname", "idstring")
table = EvTable("tick(s)", "object", "path/methodname", "idstring", "db")
for sub in all_subs:
table.add_row(sub[3],
sub[1] or "[None]",
sub[1] if sub[1] else sub[2],
sub[4] or "[Unset]")
sub[4] or "[Unset]",
"*" if sub[5] else "-")
self.caller.msg("|wActive tickers|n:\n" + unicode(table))