lib/talks/configuration.rb in talks-0.3.0 vs lib/talks/configuration.rb in talks-0.3.1
- old
+ new
@@ -60,11 +60,14 @@
end
def notifier_for(command_name)
command = command_name.to_sym
(options[:notifier] != 'off') &&
- options[command] &&
- (options[command][:notifier] != 'off')
+ (
+ !options[command] ||
+ (options[command] &&
+ (options[command][:notifier] != 'off'))
+ )
end
def notify_message_for(command_name, position = :after)
command = command_name.to_sym
options[command] &&