Browse Source

* Exported color() to modules as colorI()

svn: 485
Bryan Drewery 22 years ago
parent
commit
98317f9e49
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/mod/module.h
  2. 1 1
      src/modules.c

+ 1 - 1
src/mod/module.h

@@ -360,7 +360,7 @@
 /* 204 - 207 */
 #define online_since (*(int *)(global[204]))
 #define buildts (*(const time_t*)(global[205]))
-/* 206 -- UNUSED */
+#define colorI ((char *(*)(int, int, int))global[206])
 #define check_dcc_attrs ((int (*)(struct userrec *,int))global[207])
 /* 208 - 211 */
 #define check_dcc_chanattrs ((int (*)(struct userrec *,char *,int,int))global[208])

+ 1 - 1
src/modules.c

@@ -412,7 +412,7 @@ Function global_table[] =
   /* 204 - 207 */
   (Function) & online_since,	/* time_t *				*/
   (Function) & buildts,		/* time_t *				*/
-  (Function) 0,
+  (Function) color,
   (Function) check_dcc_attrs,
   /* 208 - 211 */
   (Function) check_dcc_chanattrs,