forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
657b76f1b5
commit
72b7bc1627
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class config:
|
|||
print(self.chansettings(chan))
|
||||
if self.chansettings(chan) == []:
|
||||
print("[!!!] Channel doesn't exist in config")
|
||||
self.database.execute("INSERT INTO chans (chan, flags) values(?, ?);", [chan, "+config " + ",".join(flags)])
|
||||
self.database.execute("INSERT INTO chans (chan, flags) values(?, ?);", [chan, "+config," + ",".join(flags)])
|
||||
else:
|
||||
self.database.execute("UPDATE chans SET FLAGS = ? WHERE chan = ?", [",".join(flags),chan])
|
||||
self.conn.commit()
|
||||
|
|
Loading…
Reference in a new issue