diff options
Diffstat (limited to 'src/mon/Monitor.cc')
-rw-r--r-- | src/mon/Monitor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index a77086c0ec7..00b9a39235b 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -2740,7 +2740,7 @@ bool Monitor::dispatch(MonSession *s, Message *m, const bool src_is_mon) case MSG_MON_PAXOS: { MMonPaxos *pm = static_cast<MMonPaxos*>(m); - if (!src_is_mon && + if (!src_is_mon || !s->is_capable("mon", MON_CAP_X)) { //can't send these! pm->put(); |