From c20651123433d3dc99a53a83bbeb128c5968ffc6 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 11 Aug 2006 16:52:26 +0000 Subject: nickokay now properly selected --- lib/rbot/message.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/rbot') diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb index f1293e78..521d62dc 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -267,7 +267,10 @@ module Irc # the default okay style is the same as the default reply style # def okay - self.reply @bot.lang.get("okay") + if @bot.config['core.reply_with_nick'] + return nickokay + end + plainokay end end -- cgit v1.2.3