diff options
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r-- | src/common/cfgfiles.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 4bf2f470..910e0781 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -1046,6 +1046,11 @@ save_config (void) return 0; } } + + if (vars[i].after_update != NULL) + { + vars[i].after_update(); + } i++; } while (vars[i].name); @@ -1293,6 +1298,11 @@ cmd_set (struct session *sess, char *tbuf, char *word[], char *word_eol[]) { set_showval (sess, &vars[i], tbuf); } + + if (vars[i].after_update != NULL) + { + vars[i].after_update(); + } break; } } |