mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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):
|
def inFilter(self, irc, msg):
|
||||||
self.recvdMsgs += 1
|
self.recvdMsgs += 1
|
||||||
self.recvdBytes += len(str(msg))
|
self.recvdBytes += len(msg)
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
def outFilter(self, irc, msg):
|
def outFilter(self, irc, msg):
|
||||||
self.sentMsgs += 1
|
self.sentMsgs += 1
|
||||||
self.sentBytes += len(str(msg))
|
self.sentBytes += len(msg)
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
def die(self):
|
def die(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user