From 33623eff592393dd46c6f48fd9650a577471b155 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 Mar 2021 23:46:41 +0100 Subject: [PATCH] Added useful functions --- moderation/send_server_notice.sh | 8 -------- 1 file changed, 8 deletions(-) delete mode 100755 moderation/send_server_notice.sh diff --git a/moderation/send_server_notice.sh b/moderation/send_server_notice.sh deleted file mode 100755 index d1d484e..0000000 --- a/moderation/send_server_notice.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -LIST=$(sudo -u ejabberd ejabberdctl connected_users_info | cut -f 1 | cut -d "/" -f 1 | grep $1 | uniq) - -for ADDRESS in $LIST -do - sudo -u ejabberd ejabberdctl send_message headline chapril.org "$ADDRESS" "Annonce du Serveur" "$2" - echo Done with $ADDRESS -done