chiark / gitweb /
irc-summon: Use UIDs to identify proper human users.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:33:46 +0000 (18:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 1 Sep 2012 18:25:09 +0000 (19:25 +0100)
irc-summon

index a9874b1c9edaedbd685950d8bbc6105e34b0ef44..92f7eb5c46ff8732b91b6b0e30703bf1b6d1b55b 100644 (file)
@@ -6,7 +6,7 @@ fi
 no-disconnect-hup
 ignore-fd 0
 
-if ! grep service-user /etc/userlist
+if ! range service-user 1000 9999
        execute sh -c "echo problem is not a user"
        quit
 fi