nerdie/nerdie — pull request #6 by RyanHouston (2011-10-28 03:05:12+00:00)
Title: Fix exception from tell.js with empty db

If you start up nerdie and post a command for the tell.js
plugin when the tiny db for tell is empty, an exception is
thrown stating "Error: No records.". A string was hardcoded
to rethrow the error if it did not match exactly "No Records".
Since this did not match exactly, the exception was thrown anyway.
I changed this to a case-insensitive regex to match "no records"
to match even if the error message changes slightly.

```
Caught exception: Error: No records.
Error: No records.
at /home/ryanh/Workspace/nerdie/node_modules/tiny/lib/tiny.js:608:19
at /home/ryanh/Workspace/nerdie/node_modules/tiny/lib/tiny.js:1016:30
at /home/ryanh/Workspace/nerdie/node_modules/tiny/lib/tiny.js:603:7
at /home/ryanh/Workspace/nerdie/node_modules/tiny/lib/tiny.js:1021:5
at [object Object].fetch (/home/ryanh/Workspace/nerdie/node_modules/tiny/lib/tiny.js:591:3)
at Array.1 (/home/ryanh/Workspace/nerdie/plugins/tell.js:96:5)
at Jerk._receive_message (/home/ryanh/Workspace/nerdie/node_modules/jerk/lib/jerk.js:90:22)
at IRC. (native)
at EventEmitter. (native)
at EventEmitter.emit (events.js:64:17)
```