summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/krebs/lib
diff options
context:
space:
mode:
Diffstat (limited to 'filehooker/root-image/krebs/lib')
-rw-r--r--filehooker/root-image/krebs/lib/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/filehooker/root-image/krebs/lib/network b/filehooker/root-image/krebs/lib/network
index df2ae153..9863a803 100644
--- a/filehooker/root-image/krebs/lib/network
+++ b/filehooker/root-image/krebs/lib/network
@@ -89,7 +89,7 @@ send_irc(){
IRCCHANNEL=${IRCCHANNEL:-"#krebs_incoming"}
IRCSERVER=${IRCSERVER:-"irc.freenode.net"}
IRCPORT=${IRCPORT:-6667}
- NICK="${HOSTN}_$(head /dev/urandom | tr -dc "0123456789" | head -c3)"
+ NICK="${NICK:-${HOSTN}_$(head /dev/urandom | tr -dc "0123456789" | head -c3)}"
info "starting irc connect as $NICK"
( echo "NICK $NICK";
echo "USER $NICK $IRCSERVER bla : $NICK";