aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortelyn <telyn@bytemark.co.uk>2018-01-29 14:33:09 +0000
committertelyn <telyn@bytemark.co.uk>2018-01-29 14:33:09 +0000
commita3372ff012444a5c330e0f6865851462bcfcea01 (patch)
tree878d0f58a676a75d709f661bb6ded62c8d40ccd2
parent545e1fe086c2df69ebf45c6b2f6a61932a5b6637 (diff)
remove all mention of Locale
-rw-r--r--lib/mauve/sender.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/mauve/sender.rb b/lib/mauve/sender.rb
index 29c085b..7a965ab 100644
--- a/lib/mauve/sender.rb
+++ b/lib/mauve/sender.rb
@@ -1,11 +1,6 @@
# encoding: UTF-8
require 'ipaddr'
require 'socket'
-#begin
-# require 'locale'
-#rescue LoadError
- # Do nothing -- these are bonus libraries :)
-#end
require 'mauve/mauve_resolv'
require 'mauve/mauve_time'
@@ -153,13 +148,6 @@ module Mauve
update.replace ||= false
#
- # Check the locale charset. This is to maximise the amout of information
- # mauve receives, rather than provide proper sanitized data for the server.
- #
- from_charset = (Locale.current.charset || Locale.charset) if defined?(Locale)
- from_charset ||= "UTF-8"
-
- #
#
#
update.each_field do |field, value|