diff --git a/sedbot.bash b/sedbot.bash index 42bde2b..497db4b 100755 --- a/sedbot.bash +++ b/sedbot.bash @@ -41,6 +41,10 @@ connect() { return $? fi sendmsg NICK "$NICK" + if (($?)); then + return $? + fi + sendmsg MODE "$NICK +B" if (($?)); then return $? fi