<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,11 +1,10 @@
 default:
-  name: Marvin
+  user: MarvinBot
+  name: MarvinBot
+  nick: MarvinBot
   nicks:
     - MarvinBot1000
     - MarvinBot2000
     - MarvinBot3000
     - MarvinusBoticus
-development:
-  user: MarvinBot
-  name: MarvinBot
-  nick: MarvinBot
\ No newline at end of file
+  distributed_server: false
\ No newline at end of file</diff>
      <filename>config/settings.yml.sample</filename>
    </modified>
    <modified>
      <diff>@@ -14,13 +14,11 @@ Marvin::Loader.before_run do
   # Conditional registration - load the distributed dispatcher
   # if an actual client, otherwise use the normal handlers.
   #
-  if Marvin::Loader.distributed_client?
-    HelloWorld.register!
-    DebugHandler.register!
-  else
-    Marvin::Distributed::Handler.register!
-  end
-  
+  # if Marvin::Loader.distributed_client?
+  #   
+  #   DebugHandler.register!
+  # else
+  #   Marvin::Distributed::Handler.register!
   # end
   
   # And any other code here that will be run before the client, e.g:</diff>
      <filename>config/setup.rb</filename>
    </modified>
    <modified>
      <diff>@@ -34,8 +34,6 @@ module Marvin
       logger.info &quot;Initializing the current instance&quot;
       @channels = []
       connections &lt;&lt; self
-      logger.info &quot;Setting the client for each handler&quot;
-      setup_handlers
       logger.info &quot;Dispatching the default :client_connected event&quot;
       dispatch :client_connected
     end
@@ -60,9 +58,9 @@ module Marvin
       Marvin::Reloading.reload! if @@development
     end
     
-    def dispatch(*args)
+    def pre_dispatching
       process_development
-      super
+      setup_handlers
     end
     
     # Sets the current class-wide settings of this IRC Client</diff>
      <filename>lib/marvin/abstract_client.rb</filename>
    </modified>
    <modified>
      <diff>@@ -52,7 +52,7 @@ module Marvin::IRC
       def receive_line(line)
         return unless @connected
         line = line.strip
-        logger.debug &quot;&lt;&lt; #{line}&quot;
+        logger.debug &quot;[#{host_with_port}] &lt;&lt; #{line}&quot;
         @client.receive_line(line)
       rescue Exception =&gt; e
         logger.warn &quot;Uncaught exception raised; Likely in Marvin&quot;
@@ -62,7 +62,7 @@ module Marvin::IRC
       def send_line(*lines)
         return unless @connected
         lines.each do |line|
-          logger.debug &quot;&gt;&gt; #{line.strip}&quot;
+          logger.debug &quot;[#{host_with_port}] &gt;&gt; #{line.strip}&quot;
           send_data line
         end
       end</diff>
      <filename>lib/marvin/irc/client.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bbf804dd38e9f5f528fa1634e21e04eb4616de3c</id>
    </parent>
  </parents>
  <author>
    <name>Darcy Laycock</name>
    <email>sutto@sutto.net</email>
  </author>
  <url>http://github.com/Sutto/marvin/commit/14fdeb687e5d6fabd72efa985a90b6c8a2ed9694</url>
  <id>14fdeb687e5d6fabd72efa985a90b6c8a2ed9694</id>
  <committed-date>2009-10-05T07:07:35-07:00</committed-date>
  <authored-date>2009-10-05T07:07:35-07:00</authored-date>
  <message>Properly setup handlers and log the connection for incoming / outgoing data</message>
  <tree>0942bbd356f1b41a8d97e52b1fb5322cd0fceabd</tree>
  <committer>
    <name>Darcy Laycock</name>
    <email>sutto@sutto.net</email>
  </committer>
</commit>
