<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,4 +4,4 @@ Example:
   adapter: mysql
   host: localhost
   database: example_database
-  password:
+  password: &quot;&quot;</diff>
      <filename>config/seasons/testing/database.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,9 @@
-# This file is optional: If Autumn doesn't find it, Autumn will assume you want
-# one instance of every leaf in the leaves directory, named after the leaf
-# itself. You only need this file if you want more than one instance of a leaf
-# or you need to configure your leaf differently.
-
 --- 
+Administrator: 
+  authentication: 
+    type: op
+  class: Administrator
 Scorekeeper: 
   class: Scorekeeper
-Insulter:
+Insulter: 
   class: Insulter</diff>
      <filename>config/seasons/testing/leaves.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,8 @@
 --- 
 Example: 
-  nick: Yournick
+  nick: MyIRCBot
   leaves: 
+  - Administrator
   - Scorekeeper
   - Insulter
   rejoin: true</diff>
      <filename>config/seasons/testing/stems.yml</filename>
    </modified>
    <modified>
      <diff>@@ -71,14 +71,14 @@ module Autumn
     # CTCP commands whose arguments are encoded according to the CTCP spec (as
     # opposed to other commands, whose arguments are plaintext).
     ENCODED_COMMANDS = [ 'VERSION', 'PING' ]
-  
+    
     # Creates a new CTCP parser. Options are:
     #
     # +reply_queue_size+:: The maximum number of pending replies to store in the
     #                      queue, after which new CTCP requests are ignored.
     # +reply_rate+:: The minimum time, in seconds, between consecutive CTCP
     #                replies.
-  
+    
     def initialize(options={})
       @options = options
       @options[:reply_queue_size] ||= 10
@@ -96,9 +96,9 @@ module Autumn
         hsh[key]
       end
     end
-  
+    
     # Parses CTCP requests in a PRIVMSG event.
-  
+    
     def irc_privmsg_event(stem, sender, arguments) # :nodoc:
       arguments[:message].scan(CTCP_REQUEST).flatten.each do |ctcp|
         ctcp_args = ctcp.split(' ')
@@ -122,7 +122,7 @@ module Autumn
         stem.broadcast :ctcp_response_received, request.downcase.to_sym, self, stem, sender, ctcp_args
       end
     end
-  
+    
     # Replies to a CTCP VERSION request by sending:
     #
     # * the name of the IRC client (&quot;Autumn, a Ruby IRC framework&quot;),
@@ -138,15 +138,15 @@ module Autumn
     # string. If you'd prefer compatibility with those clients, you should
     # override this method to return a single plaintext string and remove the
     # VERSION command from +ENCODED_COMMANDS+.
-  
+    
     def ctcp_version_request(handler, stem, sender, arguments)
       return unless handler == self
       send_ctcp_reply stem, sender[:nick], 'VERSION', &quot;Autumn 3.0, a Ruby IRC framework&quot;, `uname -sr`, &quot;http://github.com/RISCfuture/autumn&quot;
     end
-  
+    
     # Replies to a CTCP PING request by sending back the same arguments as a
     # PONG reply.
-  
+    
     def ctcp_ping_request(handler, stem, sender, arguments)
       return unless handler == self
       send_ctcp_reply stem, sender[:nick], 'PING', *arguments
@@ -154,12 +154,12 @@ module Autumn
     
     # Replies to a CTCP TIME request by sending back the local time in RFC-822
     # format.
-  
+    
     def ctcp_time_request(handler, stem, sender, arguments)
       return unless handler == self
       send_ctcp_reply stem, sender[:nick], 'TIME', Time.now.rfc822
     end
-  
+    
     # Adds a CTCP reply to the queue. You must pass the Stem instance that will
     # be sending this reply, the recipient (channel or nick), and the name of
     # the CTCP command (as an uppercase string). Any additional arguments are
@@ -169,12 +169,12 @@ module Autumn
     #
     # +recipient+ can be a nick, a channel name, or a sender hash, as necessary.
     # Encoding of arguments is only done for commands in +ENCODED_COMMANDS+.
-  
+    
     def send_ctcp_reply(stem, recipient, command, *arguments)
       recipient = recipient[:nick] if recipient.kind_of? Hash
       @reply_queue[stem] &lt;&lt; { :recipient =&gt; recipient, :message =&gt; make_ctcp_message(command, *arguments) }
     end
-  
+    
     # When this listener is added to a stem, the stem gains the ability to send
     # CTCP messages directly. Methods of the form &lt;tt&gt;ctcp_*&lt;/tt&gt;, where &quot;*&quot; is
     # the lowercase name of a CTCP action, will be forwarded to this listener,
@@ -200,7 +200,7 @@ module Autumn
     # (Note that responding to VERSION requests is already handled by this class
     # so you'll need to either override or delete the ctcp_version_request
     # method to do this.)
-  
+    
     def added(stem)
       stem.instance_variable_set :@ctcp, self
       class &lt;&lt; stem
@@ -215,22 +215,22 @@ module Autumn
         end
       end
     end
-  
+    
     # Creates a CTCP-formatted message with the given command (uppercase string)
     # and arguments (strings). The string returned is suitable for transmission
     # over IRC using the PRIVMSG command.
-  
+    
     def make_ctcp_message(command, *arguments)
       arguments = arguments.map { |arg| quote arg } if ENCODED_COMMANDS.include? command
       &quot;\01#{arguments.unshift(command).join(' ')}\01&quot;
     end
-  
+    
     private
-  
+    
     def quote(str)
       str.gsub(&quot;\0&quot;, '\0').gsub(&quot;\1&quot;, '\1').gsub(&quot;\n&quot;, '\n').gsub(&quot;\r&quot;, '\r').gsub(&quot; &quot;, '\@').gsub(&quot;\\&quot;, '\\\\')
     end
-  
+    
     def unquote(str)
       str.gsub('\0', &quot;\0&quot;).gsub('\1', &quot;\1&quot;).gsub('\n', &quot;\n&quot;).gsub('\r', &quot;\r&quot;).gsub('\@', &quot; &quot;).gsub('\\\\', &quot;\\&quot;)
     end</diff>
      <filename>libs/ctcp.rb</filename>
    </modified>
    <modified>
      <diff>@@ -18,9 +18,14 @@ module Autumn
         'Scorekeeper' =&gt; {
           'class' =&gt; 'Scorekeeper'
         },
+        'Insulter' =&gt; {
+          'class' =&gt; 'Insulter'
+        },
         'Administrator' =&gt; {
           'class' =&gt; 'Administrator',
-          'authentication' =&gt; 'op'
+          'authentication' =&gt; {
+            'type' =&gt; 'op'
+          }
         }
       },
       &quot;stems.yml&quot; =&gt; {
@@ -29,7 +34,7 @@ module Autumn
           'nick' =&gt; 'MyIRCBot',
           'channel' =&gt; '#yourchannel',
           'rejoin' =&gt; true,
-          'leaves' =&gt; [ 'Administrator', 'Scorekeeper' ]
+          'leaves' =&gt; [ 'Administrator', 'Scorekeeper', 'Insulter' ]
         }
       },
       &quot;season.yml&quot; =&gt; {</diff>
      <filename>libs/generator.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>18949a02c682fde970e6bd2906abba7a465ee3ea</id>
    </parent>
  </parents>
  <author>
    <name>Tim Morgan</name>
    <email>riscfuture@gmail.com</email>
  </author>
  <url>http://github.com/RISCfuture/autumn/commit/5d4924b4ef9a1094609728eef54aa42921073ad1</url>
  <id>5d4924b4ef9a1094609728eef54aa42921073ad1</id>
  <committed-date>2008-07-15T15:59:26-07:00</committed-date>
  <authored-date>2008-07-15T15:59:26-07:00</authored-date>
  <message>Script/generate updates for new auth module</message>
  <tree>74222ae7dce7bbb0d278a0cefd7933460c716887</tree>
  <committer>
    <name>Tim Morgan</name>
    <email>riscfuture@gmail.com</email>
  </committer>
</commit>
