diff --git a/sweebot.py b/sweebot.py index 07c4c87..a8e8a84 100644 --- a/sweebot.py +++ b/sweebot.py @@ -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