From 3acf28247028ccb06ddac496130efeaba04a34e7 Mon Sep 17 00:00:00 2001
From: Thor77 <thor77@thor77.org>
Date: Mon, 24 Jul 2017 14:40:41 +0200
Subject: [PATCH] Don't drop current nick in prepare_clients

because that's already handled in the Client.nick-property now
---
 tsstats/template.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tsstats/template.py b/tsstats/template.py
index d28edb9..808c7ef 100644
--- a/tsstats/template.py
+++ b/tsstats/template.py
@@ -31,12 +31,6 @@ def prepare_clients(clients, onlinetime_threshold=-1):
     :return: `clients` sorted by onlinetime, kics, pkicks, bans and pbans
     :rtype: tsstats.template.SortedClients
     '''
-    # drop current nick from nick-history
-    [
-        c.nick_history.remove(c.nick)
-        for c in clients
-        if c.nick in c.nick_history
-    ]
     # sort by onlinetime
     onlinetime_ = sort_clients(
         clients, lambda c: c.onlinetime.total_seconds()