Browse code

- fixed copy&paste error, reply callbacks newer installed

Tomas Mandys authored on 16/06/2006 11:48:39
Showing 1 changed files
... ...
@@ -97,7 +97,7 @@ int register_script_cb( cb_function f, int type, void *param )
97 97
 				goto add_error;
98 98
 		}
99 99
 	}
100
-	if (type&REQ_TYPE_CB) {
100
+	if (type&RPL_TYPE_CB) {
101 101
 		/* callback (also) for reply script */
102 102
 		if (type&PRE_SCRIPT_CB) {
103 103
 			if (add_callback( &pre_rpl_cb, f, param)<0)