]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/core/remote.rb
irclog core module: skip, don't die when unable to open logfile
[user/henk/code/ruby/rbot.git] / lib / rbot / core / remote.rb
index 52cfed4e836119e49e84810f172ccd9c8e36e99d..7157195f914f72a64c446134a7a7e11dcf72c2b3 100644 (file)
@@ -4,8 +4,6 @@
 # :title: Remote service provider for rbot
 #
 # Author:: Giuseppe Bilotta (giuseppe.bilotta@gmail.com)
-# Copyright:: Copyright (c) 2006 Giuseppe Bilotta
-# License:: GPLv2
 #
 # From an idea by halorgium <rbot@spork.in>.
 #
@@ -36,9 +34,9 @@ class Bot
       end
     end
 
-    # We extend the AuthManagerClass to handle remote logins
+    # We extend the ManagerClass to handle remote logins
     #
-    class AuthManagerClass
+    class ManagerClass
 
       MAX_SESSION_ID = 2**128 - 1
 
@@ -323,9 +321,9 @@ class RemoteModule < CoreBotModule
     :desc => "Port on which the remote interface will be presented")
 
   Config.register Config::StringValue.new('remote.host',
-    :default => '',
+    :default => '127.0.0.1',
     :requires_rescan => true,
-    :desc => "Port on which the remote interface will be presented")
+    :desc => "Host on which the remote interface will be presented")
 
   def initialize
     super