diff --git a/ARES/application/news.lsl b/ARES/application/news.lsl index ab5c639..7147211 100644 --- a/ARES/application/news.lsl +++ b/ARES/application/news.lsl @@ -38,7 +38,7 @@ */ #include -#define CLIENT_VERSION "0.2.3" +#define CLIENT_VERSION "0.2.4" #define CLIENT_VERSION_TAGS "alpha" list feeds; @@ -171,7 +171,10 @@ main(integer src, integer n, string m, key outs, key ins, key user) { string headline; pipe_read(ins, headline); - if(~strpos(headline, " 200) // beyond the pale of what the UI can display + headline = substr(headline, 0, 199); + if(headline != gets(headlines, offset)) { headlines = alter(headlines, [headline], offset, offset); setdbl("news", ["headline"], jsarray(headlines));