From b405f8b88e514138d5b5b1e3f1e455f4736e0e3f Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 20 Jan 2011 00:15:58 +0000 Subject: [PATCH] Quotegrabs: Lowercase nick when grabbing --- PBot/Quotegrabs.pm | 2 ++ PBot/VERSION.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PBot/Quotegrabs.pm b/PBot/Quotegrabs.pm index 396d1b37..b4cd0e9d 100644 --- a/PBot/Quotegrabs.pm +++ b/PBot/Quotegrabs.pm @@ -162,6 +162,8 @@ sub grab_quotegrab { return "Usage: !grab [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); if(not defined $grab_history) { diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index f920e53c..29f54dd1 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,8 +13,8 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 234, - BUILD_DATE => "2010-08-15", + BUILD_REVISION => 235, + BUILD_DATE => "2011-01-19", }; 1;