Update sweebot.py
This commit is contained in:
parent
54ca5801e7
commit
22679a9f86
1 changed files with 2 additions and 1 deletions
|
@ -505,9 +505,10 @@ while True:
|
||||||
else:
|
else:
|
||||||
flag.append(i)
|
flag.append(i)
|
||||||
else:
|
else:
|
||||||
multiline(nick + ": flag name should begin with + or -")
|
multiline(nick + ": flag name should begin with + or -", channel)
|
||||||
break
|
break
|
||||||
sbconfig.setchanconfig(channel, flag)
|
sbconfig.setchanconfig(channel, flag)
|
||||||
|
multiline(nick + ": Successfuly applied configuration: " + " ".join(flag), channel)
|
||||||
else:
|
else:
|
||||||
irc.send_irc(channel, nick + ": Permission denied")
|
irc.send_irc(channel, nick + ": Permission denied")
|
||||||
block+=1
|
block+=1
|
||||||
|
|
Loading…
Reference in a new issue