Browse Source

Split watcher messages at the correct length.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
d07d5eddcd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/irc/watcher.py

+ 1
- 1
earwigbot/irc/watcher.py View File

@@ -122,4 +122,4 @@ class Watcher(IRCConnection):
if chans and frontend and not frontend.is_stopped(): if chans and frontend and not frontend.is_stopped():
pretty = rc.prettify() pretty = rc.prettify()
for chan in chans: for chan in chans:
frontend.say(chan, pretty[:500 - len(chan)])
frontend.say(chan, pretty[:400])

Loading…
Cancel
Save