helpinfos: Customize for local installation.
[ircbot] / irc-identpass
1 if ( grep calling-user /var/lib/ircbot/bot-users
2 & range service-user 1000 9999
3 )
4 execute sh -c "\
5 if ! test -f .userv/irc-pass-md5; then \n\
6 echo >&2 'no password set for '$USER' - see `help identpass'\\' \n\
7 exit 2 \n\
8 fi \n\
9 cmp -s - .userv/irc-pass-md5 \n\
10 rc=$? \n\
11 [ $rc = 1 ] && echo >&2 'incorrect password' \n\
12 exit $rc \n\
13 "
14 fi