Show bytes read/written in server stats
This commit is contained in:
parent
9826209ddf
commit
8d350aa5f5
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ class Module(ModuleManager.BaseModule):
|
|||
"alias": server.alias,
|
||||
"hostmask": "%s!%s@%s" % (
|
||||
server.nickname, server.username, server.hostname),
|
||||
"users": len(server.users)
|
||||
"users": len(server.users),
|
||||
"bytes-written": server.bytes_written,
|
||||
"bytes-read": server.bytes_read
|
||||
}
|
||||
|
||||
@utils.hook("api.get.servers")
|
||||
|
|
Loading…
Reference in a new issue