aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/ii/templates/ii_wrapper.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ii/templates/ii_wrapper.pl b/modules/ii/templates/ii_wrapper.pl
index fddfd629..5e5cc65e 100644
--- a/modules/ii/templates/ii_wrapper.pl
+++ b/modules/ii/templates/ii_wrapper.pl
@@ -8,7 +8,7 @@ my $server = "<%= server %>";
Proc::Daemon::Init();
-my (undef, undef, $uid) = getpwname("nobody");
+my (undef, undef, $uid) = getpwnam("nobody");
POSIX::setuid($uid);
fork() || exec "ii -n $nick -i /var/lib/ii/$nick -s $server";