소스 검색

[fix] operator error

master
extra1563 4 년 전
부모
커밋
a22b735d36
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/broker/modules/subscription.go

+ 1
- 1
src/broker/modules/subscription.go 파일 보기

@@ -187,7 +187,7 @@ func (manager *sub_manager) addSubscription(msg MsgUnit) error {
187 187
 		// For compound expressions bounded by '&&' and '||'
188 188
 		// (ex) { (234 < x) && (x <= 1293) } , { (234 < x) || ( x < 1293) }
189 189
 
190
-		logical_operator := operator[2]
190
+		logical_operator := operator[1]
191 191
 
192 192
 		// Find ValueNode = (namelist[name].list.val == Value)
193 193
 		valptr1 := nameptr.list.getValueNodePos([]int64{value[0]})

Loading…
취소
저장