summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/uloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/uloc.c b/server/uloc.c
index 000a7c6..6b26894 100644
--- a/server/uloc.c
+++ b/server/uloc.c
@@ -168,7 +168,8 @@ ulogin_dispatch(ZNotice_t *notice,
return ZERR_NONE;
}
if (!bdumping &&
- (!auth || strcmp(notice->z_sender, notice->z_class_inst) != 0)) {
+ (!auth || strcmp(notice->z_sender, notice->z_class_inst) != 0) &&
+ (!auth || !opstaff_check(notice->z_sender))) {
zdbug((LOG_DEBUG,"unauthentic ulogin: %d %s %s", auth,
notice->z_sender, notice->z_class_inst));
if (server == me_server)