<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,7 @@ class SitemapPluginController &lt; ActionController::Base
   
   def check_sitemap_auth
     settings = SitemapSetting.find(:first)
-    return unless settings.username &amp;&amp; settings.password
+    return unless settings &amp;&amp; settings.username &amp;&amp; settings.password
     authenticate_or_request_with_http_basic do |username, password|
       username == settings.username &amp;&amp; password == settings.password
     end</diff>
      <filename>app/controllers/sitemap_plugin_controller.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1658a4378115a66fcd7be20211106c86dcc9e859</id>
    </parent>
  </parents>
  <author>
    <name>Josh Owens</name>
    <email>joshua.owens@gmail.com</email>
  </author>
  <url>http://github.com/queso/sitemap/commit/971610422daa6857fdc22baa9b22abf1481fc6f8</url>
  <id>971610422daa6857fdc22baa9b22abf1481fc6f8</id>
  <committed-date>2008-10-23T06:51:31-07:00</committed-date>
  <authored-date>2008-10-23T06:51:31-07:00</authored-date>
  <message>Fixing some flawed logic.  DOH.</message>
  <tree>42a3f71f5e862d9c66a7db2266f0fcede87fcb42</tree>
  <committer>
    <name>Josh Owens</name>
    <email>joshua.owens@gmail.com</email>
  </committer>
</commit>
