3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

Quotegrabs: Lowercase nick when grabbing

This commit is contained in:
Pragmatic Software 2011-01-20 00:15:58 +00:00
parent 7eea052b36
commit b405f8b88e
2 changed files with 4 additions and 2 deletions

View File

@ -162,6 +162,8 @@ sub grab_quotegrab {
return "Usage: !grab <nick> [history] [channel] -- where [history] is an optional argument that is an integer number of recent messages; e.g., to grab the 3rd most recent message for nick, use !grab nick 3"; return "Usage: !grab <nick> [history] [channel] -- where [history] is an optional argument that is an integer number of recent messages; e.g., to grab the 3rd most recent message for nick, use !grab nick 3";
} }
$arguments = lc $arguments;
my ($grab_nick, $grab_history, $channel) = split(/\s+/, $arguments, 3); my ($grab_nick, $grab_history, $channel) = split(/\s+/, $arguments, 3);
if(not defined $grab_history) { if(not defined $grab_history) {

View File

@ -13,8 +13,8 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 234, BUILD_REVISION => 235,
BUILD_DATE => "2010-08-15", BUILD_DATE => "2011-01-19",
}; };
1; 1;