Browse code

core: removed K compat mode for onsend route

- no conditions around drop flag
- part of work to remove config compat modes, as per irc devel meeting
discussions

Daniel-Constantin Mierla authored on 17/04/2010 09:56:01
Showing 1 changed files
... ...
@@ -90,8 +90,7 @@ static inline int run_onsend(struct sip_msg* orig_msg, struct dest_info* dst,
90 90
 			orig_msg->fwd_send_flags=fwd_snd_flags_bak;
91 91
 			orig_msg->rpl_send_flags=rpl_snd_flags_bak;
92 92
 			exec_post_script_cb(orig_msg, ONSEND_CB_TYPE);
93
-			if((sr_cfg_compat==SR_COMPAT_KAMAILIO)
94
-					&& (ret==0) && !(ra_ctx.run_flags&DROP_R_F)){
93
+			if((ret==0) && !(ra_ctx.run_flags&DROP_R_F)){
95 94
 				ret = 1;
96 95
 			}
97 96
 		} else {