summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-10-31 16:38:01 -0500
committerJesse Luehrs <doy@tozt.net>2009-10-31 16:38:01 -0500
commit0a813e0f404bb31d1af1e3ccf9341e5b6aed5659 (patch)
tree324e2ecb1d8dd0ead0de505ab6266a9977d121a0
parent38f55eb253d9dd5b16de1ab37da2014dfd2a3ed3 (diff)
downloadim-engine-plugin-commands-0a813e0f404bb31d1af1e3ccf9341e5b6aed5659.tar.gz
im-engine-plugin-commands-0a813e0f404bb31d1af1e3ccf9341e5b6aed5659.zip
need to override both message and plaintext
-rw-r--r--lib/IM/Engine/Plugin/Commands/Command/Help.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/IM/Engine/Plugin/Commands/Command/Help.pm b/lib/IM/Engine/Plugin/Commands/Command/Help.pm
index 5847414..24cc464 100644
--- a/lib/IM/Engine/Plugin/Commands/Command/Help.pm
+++ b/lib/IM/Engine/Plugin/Commands/Command/Help.pm
@@ -13,7 +13,8 @@ sub default {
my $last_message = $self->_ime_plugin->_last_message;
my $message = $last_message->meta->clone_object(
$last_message,
- message => "${prefix}$action -help",
+ message => "${prefix}$action -help",
+ plaintext => "${prefix}$action -help",
);
return $self->_ime_plugin->incoming($message);
}