summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-30 19:26:39 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-28 21:30:57 +0000
commit7b1c46830f8b2aa41422899b5a9d4b52cfd54791 (patch)
treecc1c168983b29f15544c3bd41afda33c65551ec9
parentMoving irc notification from container program to hook. (diff)
downloadcompute-tools-7b1c46830f8b2aa41422899b5a9d4b52cfd54791.tar.xz
compute-tools-7b1c46830f8b2aa41422899b5a9d4b52cfd54791.zip
Prefixing irc notification with container-tools.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xshare/hooks/notification-irc2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hooks/notification-irc b/share/hooks/notification-irc
index 1b4b620..3415b6b 100755
--- a/share/hooks/notification-irc
+++ b/share/hooks/notification-irc
@@ -29,7 +29,7 @@ case "${COMMAND}" in
for CHANNEL in ${IRC_CHANNELS}
do
- irk ${CHANNEL} "\x0300${USER}\x03@\x0312${HOST}:\x03 \x0303${PROGRAM}\x03 \x0307${COMMAND}\x03 ${OPTIONS}"
+ irk ${CHANNEL} "[\x0305${SOFTWARE}\x03] \x0312${USER}@${HOST}:\x03 \x0303${PROGRAM}\x03 \x0307${COMMAND}\x03 \x0300${OPTIONS}\x03"
done
;;
esac