1
0
Fork 0
forked from swee/MeowNex

fix config command

This commit is contained in:
Swee 2024-10-12 14:39:58 -07:00
parent 4922497637
commit 56e37d5f67

View file

@ -498,9 +498,13 @@ while True:
if i[0] == "+":
if "-" + i[1:] in flag:
flag[flag.index("-" + i[1:])] = i
else:
flag.append(i)
elif i[0] == "-":
if "+" + i[1:] in flag:
flag[flag.index("+" + i[1:])] = i
else:
flag.append(i)
else:
multiline(nick + ": flag name should begin with + or -")
break