about summary refs log tree commit homepage
path: root/ext/unicorn_http/httpdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/unicorn_http/httpdate.c')
-rw-r--r--ext/unicorn_http/httpdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/unicorn_http/httpdate.c b/ext/unicorn_http/httpdate.c
index bf54fdd..0a1045f 100644
--- a/ext/unicorn_http/httpdate.c
+++ b/ext/unicorn_http/httpdate.c
@@ -66,7 +66,7 @@ static VALUE httpdate(VALUE self)
 
 void init_unicorn_httpdate(void)
 {
-        VALUE mod = rb_const_get(rb_cObject, rb_intern("Unicorn"));
+        VALUE mod = rb_define_module("Unicorn");
         mod = rb_define_module_under(mod, "HttpResponse");
 
         buf = rb_str_new(0, buf_capa - 1);