summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index ddd653ce..bf389998 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -297,6 +297,10 @@ int main(int argc, char **argv)
{ NULL }
};
+#ifdef USE_GC
+ g_mem_set_vtable(&gc_mem_table);
+#endif
+
core_register_options();
fe_common_core_register_options();
args_register(options);
@@ -308,10 +312,6 @@ int main(int argc, char **argv)
return 0;
}
-#ifdef USE_GC
- g_mem_set_vtable(&gc_mem_table);
-#endif
-
srand(time(NULL));
dummy = FALSE;