Whoa, that was some old code -- written before IrcMsg had an __len__, apparently.

This commit is contained in:
Jeremy Fincher 2003-10-14 06:41:52 +00:00
parent 79ea3b1363
commit 0064748d68
1 changed files with 2 additions and 2 deletions

View File

@ -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):