Show server versoin (from RPL_MYINFO) on /api/servers
This commit is contained in:
parent
7547eee96d
commit
052eba788f
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ class Module(ModuleManager.BaseModule):
|
|||
"channels": {
|
||||
c.name: self._channel_stats(c) for c in server.channels
|
||||
},
|
||||
"capabilities": list(server.agreed_capabilities)
|
||||
"capabilities": list(server.agreed_capabilities),
|
||||
"version": server.version
|
||||
}
|
||||
|
||||
@utils.hook("api.get.servers")
|
||||
|
|
Loading…
Reference in a new issue