chiark / gitweb /
irc-summon: Use UIDs to identify proper human users.
[ircbot] / 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