just keep 100 messages per channel for now

This commit is contained in:
Luke Rogers 2014-02-28 14:01:22 +13:00
parent b9bf09e6b6
commit 1bcf687ea2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def track_history(input, message_time, bot):
try:
history = bot.history[input.chan]
except KeyError:
bot.history[input.chan] = deque(maxlen=1000)
bot.history[input.chan] = deque(maxlen=100)
history = bot.history[input.chan]
data = (input.nick, message_time, input.msg)