<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/util_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,12 +1,12 @@
-# &quot;irc.freenode.net&quot;:
-#     port: 6667
-#     channels:
-#       - &quot;#marvin-testing&quot;
-#       - &quot;#relayrelay&quot;
-
-&quot;localhost&quot;:
+&quot;irc.freenode.net&quot;:
     port: 6667
     channels:
-      - &quot;#webjam&quot;
-      - &quot;#eotw&quot;
-      - &quot;#general&quot;
\ No newline at end of file
+      - &quot;#marvin-testing&quot;
+      - &quot;#relayrelay&quot;
+
+# &quot;localhost&quot;:
+#     port: 6667
+#     channels:
+#       - &quot;#webjam&quot;
+#       - &quot;#eotw&quot;
+#       - &quot;#general&quot;
\ No newline at end of file</diff>
      <filename>config/connections.yml</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,16 @@ Marvin::Loader.before_run do
   
   # And any other code here that will be run before the client
   
-  HelloWorld.register!
-  DebugHandler.register!
+  #HelloWorld.register!
+  #DebugHandler.register!
+  
+  if Marvin::Loader.server?
+   rails_dir = &quot;/Users/sutto/Code/RelayRelay/PowWow&quot;
+   ENV['RAILS_ENV'] ||= &quot;development&quot;
+   require File.join(rails_dir, 'config/environment')
+   require File.join(rails_dir, 'lib/marvin_event_processor')
+   # Register our super-dooper processer thingy
+   Marvin::IRC::Server::UserConnection.register_handler MarvinEventProcessor.new
+  end
   
 end
\ No newline at end of file</diff>
      <filename>config/setup.rb</filename>
    </modified>
    <modified>
      <diff>@@ -41,7 +41,7 @@ module Marvin
       unless command_name.nil?
         logger.debug &quot;Command Exists - processing&quot;
         # Dispatch the command.
-        self.send(command_name, data.split(&quot; &quot;)) if self.respond_to?(command_name)
+        self.send(command_name, data.to_s.split(&quot; &quot;)) if self.respond_to?(command_name)
       end
     end
     </diff>
      <filename>lib/marvin/command_handler.rb</filename>
    </modified>
    <modified>
      <diff>@@ -55,6 +55,7 @@ module Marvin
               logger.warn &quot;Dispatch handler queue is currently holding #{size} items&quot;
             end
           else
+            logger.debug &quot;Writing #{@queued_messages.size} message to the ring server&quot;
             @queued_messages.dup.each do |t|
               ring_server.write(t)
               @queued_messages.delete(t)</diff>
      <filename>lib/marvin/distributed/dispatch_handler.rb</filename>
    </modified>
    <modified>
      <diff>@@ -55,6 +55,11 @@ module Marvin::IRC::Server
       
     end
     
+    def dispatch(name, opts = {})
+      opts[:connection] ||= self
+      super
+    end
+    
     private
     
     def command(name, *args)</diff>
      <filename>lib/marvin/irc/server/abstract_connection.rb</filename>
    </modified>
    <modified>
      <diff>@@ -18,13 +18,15 @@ module Marvin
         def self.start
           DRb.start_service
           instance = self.new # Create the new instance
-          rs = Rinda::RingFinger.primary
-          unless rs.blank?
+          begin
+            rs = Rinda::RingFinger.primary
             renewer = Rinda::SimpleRenewer.new
             tuple   = [:marvin_server, Marvin::Settings.distributed_namespace, instance]
             Marvin::Logger.info &quot;Publishing information about service to the tuplespace&quot;
             Marvin::Logger.debug &quot;Pushing #{tuple.inspect}&quot;
             rs.write(tuple, renewer)
+          rescue
+            Marvin::Logger.warn &quot;No ring server found - remote interface not running&quot;
           end
         end
         </diff>
      <filename>lib/marvin/irc/server/remote_interface.rb</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,7 @@ module Marvin::IRC::Server::User::HandleMixin
         # Get all users and let them now we've changed nick from @nick to nick
         users = [self]
         @channels.each do |c|
-          users += c.members.values
+          users += c.members
         end
         users.uniq.each { |u| u.notify :NICK, nick, :prefix =&gt; prefix }
         dispatch :outgoing_nick, :nick =&gt; @nick, :new_nick =&gt; nick</diff>
      <filename>lib/marvin/irc/server/user/handle_mixin.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,6 +6,8 @@ require File.join(File.dirname(__FILE__), 'test_helper')
 # 3) The two different types of prefixes
 # 4) The Event class
 class ParserTest &lt; Test::Unit::TestCase
+  
+  # The default parser
   @@parser = Marvin::Parsers::SimpleParser
   
   context &quot;When parsing a LIST&quot; do</diff>
      <filename>test/parser_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ff4c52354139ca6f2867e2c18efc9d009f06201e</id>
    </parent>
  </parents>
  <author>
    <name>Darcy Laycock</name>
    <email>sutto@sutto.net</email>
  </author>
  <url>http://github.com/Sutto/marvin/commit/70e473d07a8ee64d61bdf798f344b42f1a34f07d</url>
  <id>70e473d07a8ee64d61bdf798f344b42f1a34f07d</id>
  <committed-date>2008-12-30T20:57:56-08:00</committed-date>
  <authored-date>2008-12-30T20:57:56-08:00</authored-date>
  <message>More work on improving marvin</message>
  <tree>a10e2bafb5343790dc841ac7daa15ca099c8a563</tree>
  <committer>
    <name>Darcy Laycock</name>
    <email>sutto@sutto.net</email>
  </committer>
</commit>
