- msg = unicode(self._format())
- # We rely on the server truncating, rather than trying to be
- # too fancy here
+ # If we're too long, we might not get any notification, so
+ # we truncate the msg to max 450 chars, and hope that's
+ # going to be within the 510 irc limit
+ msg = unicode(self._format())[:450]