]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/config.rb
Urban can now grab the first page of definitions.
[user/henk/code/ruby/rbot.git] / lib / rbot / config.rb
index 5661b3d1ef9480ee27aeafbc0e79cb255ed77325..906103797f55c2e0f7a78b21ae00dfc85dcea903 100644 (file)
@@ -63,7 +63,7 @@ module Config
     end
     def get
       return @manager.config[@key] if @manager.config.has_key?(@key)
-      return @default
+      return default
     end
     alias :value :get
     def set(value, on_change = true)
@@ -348,6 +348,7 @@ module Config
     end
 
     def run()
+      $stdout.sync = true
       puts _("First time rbot configuration wizard")
       puts "===================================="
       puts _("This is the first time you have run rbot with a config directory of: #{@bot.botclass}")