diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index c900468b7..3b7265e2c 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -2068,7 +2068,7 @@ set_passw(void) } } set_string(&u->faction->passw, pbuf); - fset(f, FFL_OVERRIDE); + fset(u->faction, FFL_OVERRIDE); ADDMSG(&u->faction->msgs, msg_message("changepasswd", "value", gc_add(strdup(u->faction->passw)))); }