From 0064748d68d6053c3d34c24366d2a94a3b9aaef7 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 14 Oct 2003 06:41:52 +0000 Subject: [PATCH] Whoa, that was some old code -- written before IrcMsg had an __len__, apparently. --- plugins/Status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Status.py b/plugins/Status.py index 2e0b424e0..9a9c3323f 100644 --- a/plugins/Status.py +++ b/plugins/Status.py @@ -116,12 +116,12 @@ class Status(callbacks.Privmsg): def inFilter(self, irc, msg): self.recvdMsgs += 1 - self.recvdBytes += len(str(msg)) + self.recvdBytes += len(msg) return msg def outFilter(self, irc, msg): self.sentMsgs += 1 - self.sentBytes += len(str(msg)) + self.sentBytes += len(msg) return msg def die(self):