chiark / gitweb /
Summoning IRC service.
authorijackson <ijackson>
Wed, 16 Aug 2000 00:49:55 +0000 (00:49 +0000)
committerijackson <ijackson>
Wed, 16 Aug 2000 00:49:55 +0000 (00:49 +0000)
irc-summon [new file with mode: 0644]

diff --git a/irc-summon b/irc-summon
new file mode 100644 (file)
index 0000000..fd62556
--- /dev/null
@@ -0,0 +1,16 @@
+if ! glob calling-user ian ijackson
+       reject
+       quit
+fi
+
+no-disconnect-hup
+ignore-fd 0
+
+if ! grep service-user /etc/userlist
+       execute sh -c "echo problem is not a user"
+       quit
+fi
+
+no-suppress-args
+execute /usr/local/lib/ircbot/summon \
+       /usr/local/lib/ircbot/summon-write.pl