From 1a0747c3fabed167c5f9a84f5f152cdf46c8aaef Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Thu, 24 Jan 2013 13:20:02 -0500 Subject: [PATCH] Removing idle code because it crashes --- plugins/downtime.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/downtime.go b/plugins/downtime.go index 2f8ec77..d77b760 100644 --- a/plugins/downtime.go +++ b/plugins/downtime.go @@ -72,10 +72,10 @@ func (p *DowntimePlugin) Message(message bot.Message) bool { ret = true } else if parts[0] == "idle" && len(parts) == 1 { // Find all idle times, report them. - var entries idleEntries - p.Coll.Find(nil).All(entries) - sort.Sort(entries) - fmt.Printf("%+v\n", entries) + // var entries idleEntries + // p.Coll.Find(nil).All(entries) + // sort.Sort(entries) + // fmt.Printf("%+v\n", entries) } p.record(strings.ToLower(message.User.Name))