izuemon commited on
Commit
4d68eec
·
verified ·
1 Parent(s): cde6755

Update turbowarp-server/gpt.py

Browse files
Files changed (1) hide show
  1. turbowarp-server/gpt.py +7 -3
turbowarp-server/gpt.py CHANGED
@@ -143,13 +143,17 @@ buffers = {}
143
  while True:
144
  for i, slot in enumerate(slots, 1):
145
  v = get_var(slot)
146
-
147
  if not v:
148
  continue
149
-
150
  if len(v) < 3:
151
  continue
152
-
 
 
 
 
153
  unread = v[2] == "0"
154
  if not unread:
155
  continue
 
143
  while True:
144
  for i, slot in enumerate(slots, 1):
145
  v = get_var(slot)
146
+
147
  if not v:
148
  continue
149
+
150
  if len(v) < 3:
151
  continue
152
+
153
+ # 追加: 送信パケットは無視
154
+ if v[0] != "0":
155
+ continue
156
+
157
  unread = v[2] == "0"
158
  if not unread:
159
  continue