--- util.rb.orig	2013-11-06 13:56:37.000000000 +0900
+++ util.rb	2013-11-06 13:55:29.000000000 +0900
@@ -147,7 +147,9 @@
     alias h escapeHTML
     alias unescape_html unescapeHTML
 
-    module_function :escape, :unescape, :escape_html, :h, :unescape_html
+    def set_conf(conf)
+      @conf = conf
+    end
 
     def plugin_error(method, e)
       msg = "<strong>#{e.class} (#{h(e.message)}): #{h(method)}</strong><br>"
@@ -155,6 +157,8 @@
       msg
     end
 
+    module_function :escape, :unescape, :escape_html, :h, :unescape_html, :set_conf, :plugin_error
+
     def cmdstr( cmd, param )
       "?c=#{cmd};#{param}"
     end
@@ -314,10 +318,6 @@
       end
     end
 
-    def set_conf(conf)
-      @conf = conf
-    end
-
     def shorten(str, len = 200)
       arr = str.split(//)
       if arr.length <= len - 2
