summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-25 12:52:01 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-25 12:52:01 +0000
commit285023382ed06501aca544c52123d61799937eab (patch)
treefc9210e433a108b23cf0d9f74fd8ceac02841c61 /lib
parent8da0229d2d0a4c15286d44062002d721af6dbf63 (diff)
message.rb: fix logmessage for CTCP ACTIONs
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/message.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb
index 47994c10..de72d30c 100644
--- a/lib/rbot/message.rb
+++ b/lib/rbot/message.rb
@@ -287,6 +287,7 @@ module Irc
@message = $3 || String.new
@action = @ctcp == 'ACTION'
debug "Received CTCP command #{@ctcp} with options #{@message} (action? #{@action})"
+ @logmessage = @message.dup
end
# free splitting for plugins