mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
Merge pull request #52 from olabiniV2/configuration_setting
Make it possible to change configuration parameters on a server
This commit is contained in:
commit
f4d41de536
1 changed files with 5 additions and 0 deletions
|
|
@ -1587,3 +1587,8 @@ func (server *Server) Stop() (err error) {
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set will set a configuration value
|
||||||
|
func (server *Server) Set(key string, value string) {
|
||||||
|
server.cfg.Set(key, value)
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue