summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/message.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb
index fe7b3cb0..5d6ea60f 100644
--- a/lib/rbot/message.rb
+++ b/lib/rbot/message.rb
@@ -357,6 +357,8 @@ module Irc
@action = @ctcp == 'ACTION'
debug "Received CTCP command #{@ctcp} with options #{@message} (action? #{@action})"
@logmessage = @message.dup
+ @plainmessage = BasicUserMessage.strip_formatting(@message)
+ @message = BasicUserMessage.strip_initial_formatting(@message)
end
# free splitting for plugins