Kevin Easton
5e9263f325
Simplify and improve ANNOY_KICK checks.
...
The annoy kick code looks for messages that are longer than 12 characters
and more than 75% of them are highlighted (eg. bold). The old code counted
the whoel message length, so it could be fooled by padding the message with
lots of nonprinting control characters. This change makes it count only
displaying characters.
Also fix the check for beep (it's a single character, not a highlighting
toggle, so we just check for one of them), and add a check for the blinking
highlight.
2015-05-07 22:30:59 +10:00
..
2013-11-18 13:13:26 +00:00
2011-02-02 12:11:03 +00:00
2008-02-25 09:25:32 +00:00
2013-02-16 08:11:07 +00:00
2008-02-25 09:25:32 +00:00
2014-09-23 13:59:03 +00:00
2014-09-24 14:28:19 +00:00
2014-02-28 23:52:33 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2011-05-02 11:43:38 +00:00
2015-05-04 00:13:08 +10:00
2014-11-04 10:54:23 +00:00
2013-11-13 11:43:57 +00:00
2014-10-26 13:08:43 +00:00
2013-11-07 03:00:24 +00:00
2014-03-02 19:59:13 +00:00
2013-11-07 03:00:24 +00:00
2008-02-25 09:25:32 +00:00
2013-10-14 14:10:26 +00:00
2013-07-15 06:19:02 +00:00
2008-02-25 09:49:14 +00:00
2008-04-30 13:57:56 +00:00
2008-02-25 09:49:14 +00:00
2013-11-11 21:20:39 +00:00
2014-10-10 12:56:09 +00:00
2014-03-02 21:15:36 +00:00
2014-10-29 14:07:05 +00:00
2008-02-25 09:49:14 +00:00
2013-11-07 03:00:24 +00:00
2008-06-14 06:45:05 +00:00
2008-02-25 09:25:32 +00:00
2013-11-07 03:00:24 +00:00
2008-02-25 09:49:14 +00:00
2014-03-02 21:20:33 +00:00
2014-10-27 12:05:16 +00:00
2013-10-20 18:32:07 +00:00
2014-03-02 21:25:49 +00:00
2015-03-16 23:04:43 +11:00
2013-11-07 03:00:24 +00:00
2008-02-25 09:25:32 +00:00
2013-11-17 21:37:32 +00:00
2013-11-24 13:15:22 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2013-11-11 21:29:21 +00:00
2014-11-01 14:37:41 +00:00
2015-05-05 20:30:07 +10:00
2010-06-26 08:18:34 +00:00
2014-10-29 14:07:05 +00:00
2013-11-11 21:24:14 +00:00
2010-09-30 13:26:06 +00:00
2013-11-07 03:00:24 +00:00
2013-11-11 21:29:05 +00:00
2014-11-14 10:34:50 +00:00
2008-02-25 09:25:32 +00:00
2014-11-05 09:32:46 +00:00
2015-05-07 22:30:59 +10:00
2013-11-07 03:00:24 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2009-11-24 10:21:30 +00:00
2013-11-13 11:43:57 +00:00
2013-11-18 12:38:07 +00:00
2015-05-04 00:13:08 +10:00
2008-02-25 09:49:14 +00:00
2014-10-14 12:57:01 +00:00
2011-02-02 12:34:13 +00:00
2013-11-11 21:28:48 +00:00
2013-11-11 21:28:31 +00:00
2014-11-06 10:25:37 +00:00
2013-11-16 03:17:13 +00:00
2013-11-07 03:00:24 +00:00
2013-02-24 07:32:59 +00:00
2013-11-11 21:29:11 +00:00
2013-08-17 05:42:09 +00:00
2013-11-11 13:48:32 +00:00
2013-11-11 13:37:14 +00:00
2008-02-25 09:25:32 +00:00
2013-11-11 13:24:38 +00:00
2013-09-21 05:12:43 +00:00
2013-11-13 11:43:57 +00:00
2008-02-25 09:25:32 +00:00