Explorar o código

modules/registrar: Remove unnecessary BRANCH_FAILURE flags

Functions that run in an event route require the EVENT_ROUTE / REQUEST_ROUTE
flag set, not the BRANCH_FAILURE_ROUTE flag
Hugh Waite %!s(int64=12) %!d(string=hai) anos
pai
achega
a1edd20adf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/registrar/reg_mod.c

+ 1 - 1
modules/registrar/reg_mod.c

@@ -188,7 +188,7 @@ static cmd_export_t cmds[] = {
 	{"unregister",   (cmd_function)w_unregister,  2,  unreg_fixup, 0,
 			REQUEST_ROUTE| FAILURE_ROUTE },
 	{"unregister",   (cmd_function)w_unregister2, 3, unreg_fixup, 0,
-			REQUEST_ROUTE| FAILURE_ROUTE | BRANCH_FAILURE_ROUTE },
+			REQUEST_ROUTE| FAILURE_ROUTE },
 	{"reg_fetch_contacts", (cmd_function)pv_fetch_contacts, 3, 
 			fetchc_fixup, 0,
 			REQUEST_ROUTE| FAILURE_ROUTE },