If the nick is changed on command using the nick module, retain the new nick after reconnect or restart
This commit is contained in:
parent
830cd9837b
commit
8dc71fdaad
@ -6,4 +6,5 @@ shift
|
|||||||
if [[ "$user" =~ $allowList ]]; then
|
if [[ "$user" =~ $allowList ]]; then
|
||||||
./modules/do/do.sh "$1" "#$channel" "does a magical gesture and turns into ${1}!"
|
./modules/do/do.sh "$1" "#$channel" "does a magical gesture and turns into ${1}!"
|
||||||
nick $1
|
nick $1
|
||||||
|
sed -i bot.cfg -e "s/nick=.*/nick=\"$1\"/"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user