Enable ERC notifications only when erc-enable-notifications is non-nil; the default configuration for the variable is t.