This commit is contained in:
parent
5f353aa6e9
commit
c357314230
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ while True:
|
||||||
print(perms)
|
print(perms)
|
||||||
cont = " ".join(command)
|
cont = " ".join(command)
|
||||||
if not channel in logs:
|
if not channel in logs:
|
||||||
logs[channel] = [{nick: nick, content: cont}]
|
logs[channel] = [{"nick": nick, "content": cont}]
|
||||||
if len(logs[channel]) > 10: logs[channel] = logs[channel][:10]
|
if len(logs[channel]) > 10: logs[channel] = logs[channel][:10]
|
||||||
#open("log-text-"+channel, "a").write(" ".join(command) + "\n")
|
#open("log-text-"+channel, "a").write(" ".join(command) + "\n")
|
||||||
#open("log-name-"+channel, "a").write(nick + "\n")
|
#open("log-name-"+channel, "a").write(nick + "\n")
|
||||||
|
|
Loading…
Reference in a new issue