chiark
/
gitweb
/
~mdw
/
ircbot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75d10af
)
irc-summon: Use UIDs to identify proper human users.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:33:46 +0000
(18:33 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 18:25:09 +0000
(19:25 +0100)
irc-summon
patch
|
blob
|
blame
|
history
diff --git
a/irc-summon
b/irc-summon
index a9874b1c9edaedbd685950d8bbc6105e34b0ef44..92f7eb5c46ff8732b91b6b0e30703bf1b6d1b55b 100644
(file)
--- a/
irc-summon
+++ b/
irc-summon
@@
-6,7
+6,7
@@
fi
no-disconnect-hup
ignore-fd 0
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
execute sh -c "echo problem is not a user"
quit
fi