Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Commit 5c46aa8

Browse files
committed
fix(manage-modules.sh): correctly test if ran as unrealircd instead of ircd user
1 parent 65f5f46 commit 5c46aa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/unrealircd/scripts/manage-modules.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ print_header() { echo -e "${PURPLE}=== $1 ===${NC}"; }
2929

3030
# Check if we're running as the correct user
3131
check_user() {
32-
if [ "$(id -u)" != "1001" ]; then
33-
print_error "This script must run as the ircd user (UID 1001)"
32+
if [ "$(id -u)" != "1000" ]; then
33+
print_error "This script must run as the unrealircd user (UID 1000)"
3434
print_error "Current user: $(id -un) (UID $(id -u))"
3535
exit 1
3636
fi

0 commit comments

Comments
 (0)