diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/message.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 |