diff options
Diffstat (limited to 'source3/nameelect.c')
-rw-r--r-- | source3/nameelect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c index a11d0fb786..d3804f2b71 100644 --- a/source3/nameelect.c +++ b/source3/nameelect.c @@ -77,7 +77,7 @@ void check_master_browser(time_t t) for (work = d->workgrouplist; work; work = work->next) { - if (!AM_MASTER(work)) + if (strequal(work->work_group, lp_workgroup()) && !AM_MASTER(work)) { if (lp_preferred_master()) { |