mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Whoa, that was some old code -- written before IrcMsg had an __len__, apparently.
This commit is contained in:
parent
79ea3b1363
commit
0064748d68
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user