summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c
index 2d707183c..4b035a4a5 100644
--- a/main/config.c
+++ b/main/config.c
@@ -864,7 +864,7 @@ static void config_cache_attribute(const char *configfile, enum config_cache_att
/* Find our cached entry for this configuration file */
AST_LIST_LOCK(&cfmtime_head);
AST_LIST_TRAVERSE(&cfmtime_head, cfmtime, list) {
- if (!strcmp(cfmtime->filename, configfile))
+ if (!strcmp(cfmtime->filename, configfile) && !strcmp(cfmtime->who_asked, who_asked))
break;
}
if (!cfmtime) {