diff options
Diffstat (limited to 'noise/modules/query')
-rwxr-xr-x | noise/modules/query | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/noise/modules/query b/noise/modules/query deleted file mode 100755 index ceeff8a5..00000000 --- a/noise/modules/query +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/sh - -case "$1" in - (--help) echo send a message to a specific user ;; - (*) - cd /tmp/noise - . $NOISE_pid/environment - nick="${chat_nick-$NOISE_pid}" - target="$1" - shift - for client in * ; do - . $client/environment - if test "$target" = "${chat_nick-$client}" ; then - echo "/echo <-- $nick: $*" > $client/linefeed - echo "--> $target: $*" - exit - fi - unset chat_channel - - done - - echo "$nick not found" -esac |