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 a9874b1..92f7eb5 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