summaryrefslogtreecommitdiff
path: root/lib/rbot/ircbot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/ircbot.rb')
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index a8b5543e..968f35f9 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -929,7 +929,7 @@ class Bot
# if target is a channel with +c or +C modes, strip colours
if where.kind_of?(Channel) and where.mode.any?('c', 'C')
- multi_line.replace(BasicUserMessage.stripcolour(multi_line).gsub(AttributeRx,''))
+ multi_line.replace BasicUserMessage.strip_formatting(multi_line)
end
messages = Array.new