summaryrefslogtreecommitdiff
path: root/server/uloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/uloc.c')
-rw-r--r--server/uloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/uloc.c b/server/uloc.c
index 4ab909a..0d7ea8e 100644
--- a/server/uloc.c
+++ b/server/uloc.c
@@ -869,7 +869,7 @@ ulogin_marshal_locs(notice, found, auth)
char **answer;
int i = 0;
String *inst;
- int local = (auth && sender_in_realm(notice));
+ int local = (auth && realm_sender_in_realm(ZGetRealm(), notice->z_sender));
*found = 0; /* # of matches */