Commit: 4ad4a6eaf1c19322e0f568a350ed3e2a10498d08
Author: James Logsdon | Date: 2010-01-06 16:43:19 +0000
diff --git a/extensions/command/bot/plugins/Weather.php b/extensions/command/bot/plugins/Weather.php
index 5fd432a..c620805 100644
--- a/extensions/command/bot/plugins/Weather.php
+++ b/extensions/command/bot/plugins/Weather.php
@@ -28,7 +28,7 @@ class Weather extends \li3_bot\extensions\command\bot\Plugin {
*/
protected $_responses = array(
'missing' => 'I need a location, {:user}',
- 'unkown' => '{:user}, I cannot find {:location}',
+ 'unknown' => '{:user}, I cannot find {:location}',
'weather' => 'The weather in {:city}, {:state}, {:country} is {:temperature} with wind {:wind} (feels like {:windchill})',
);
/**
@@ -56,14 +56,14 @@ class Weather extends \li3_bot\extensions\command\bot\Plugin {
$location = $model::find('search', $words[1]);
if (!$location || isset($location->title)) {
- return String::insert($responses['unkown'], compact('user') + array('location' => $words[1]));
+ return String::insert($responses['unknown'], compact('user') + array('location' => $words[1]));
}
if (isset($location->location)) {
$location = $model::find('search', $location->location[0]->name);
if (!$location || isset($location->title)) {
- return String::insert($responses['unkown'], compact('user') + array('location' => $words[1]));
+ return String::insert($responses['unknown'], compact('user') + array('location' => $words[1]));
}
}