diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-11 16:52:26 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-11 16:52:26 +0000 |
commit | c20651123433d3dc99a53a83bbeb128c5968ffc6 (patch) | |
tree | 791fe45ee7a1bd661e62584d06390155181ae27a /lib/rbot | |
parent | 41b34863e2064ff7e04c5886277da21abb52e349 (diff) |
nickokay now properly selected
Diffstat (limited to 'lib/rbot')
-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 |