chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Warn on attempts to change nice_server during server lifetime.
[disorder]
/
lib
/
configuration.c
diff --git
a/lib/configuration.c
b/lib/configuration.c
index 98f5fbfd8f582cb1d1ee521cf0b66c942ff6fc7f..95b81330df1c546a93bcdc978c28a5deade62105 100644
(file)
--- a/
lib/configuration.c
+++ b/
lib/configuration.c
@@
-1393,6
+1393,10
@@
int config_read(int server,
error(0, "'nice_speaker' cannot be changed without a restart");
/* ...but we accept the new config anyway */
}
error(0, "'nice_speaker' cannot be changed without a restart");
/* ...but we accept the new config anyway */
}
+ if(c->nice_server != oldconfig->nice_server) {
+ error(0, "'nice_server' cannot be changed without a restart");
+ /* ...but we accept the new config anyway */
+ }
if(namepartlist_compare(&c->namepart, &oldconfig->namepart)) {
error(0, "'namepart' settings cannot be changed without a restart");
failed = 1;
if(namepartlist_compare(&c->namepart, &oldconfig->namepart)) {
error(0, "'namepart' settings cannot be changed without a restart");
failed = 1;