extsay-ng/extsay.sh
changeset 27 4f1cbafb569c
parent 24 81cbb47f1aa6
child 28 1183c1f11a68
--- a/extsay-ng/extsay.sh	Sat Apr 03 15:17:15 2010 +0200
+++ b/extsay-ng/extsay.sh	Sat Apr 03 16:36:57 2010 +0200
@@ -26,7 +26,7 @@
 # Leave if the FIFO is not available
 [ -p $FIFOPATH ] || exit 255
 
-tf=$(mktemp $tmpdir/extsay-$jid-XXXXXX) || exit 255
+tf=$(mktemp $tmpdir/extsay-${jid%%/*}-XXXXXX) || exit 255
 
 if [ x$winsplit = x"winsplit" ]; then
     screen -r -X other