فهرست منبع

- check command type only if cmd returned anything, reported by
Tomas Mandys

Jan Janak 19 سال پیش
والد
کامیت
9c1c9fa88d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      cfg.y

+ 1 - 1
cfg.y

@@ -1258,7 +1258,7 @@ host:
 fcmd:
 	cmd {
 		/* check if allowed */
-		if (rt==ONSEND_ROUTE) {
+		if ($1 && rt==ONSEND_ROUTE) {
 			switch($1->type) {
 				case DROP_T:
 				case SEND_T: