Omnimaga

Omnimaga => Discontinued => Our Projects => OmnomIRC Development => Topic started by: Deep Toaster on May 14, 2011, 10:05:47 am

Title: Long lines
Post by: Deep Toaster on May 14, 2011, 10:05:47 am
OmnomIRC lets me put in ridiculously long lines O.O

Can that be shortened? Or maybe doing white-space: no-wrap?

EDIT: Newlines are allowed too, apparently.
Title: Re: Long lines
Post by: DJ Omnimaga on May 14, 2011, 10:18:54 am
Wow... I wonder if that even makes it to IRC...

It should probably be fixed in case people abuses that. Also it might cause confusion, because people might type lines that ended up longer than expected, but think they showed up fine for everyone else, when it's not the case.
Title: Re: Long lines
Post by: JosJuice on May 14, 2011, 10:33:39 am
Wow... I wonder if that even makes it to IRC...
Quote
(4:01:27 PM) OmnomIRC: <JosJuice> ?
(4:01:50 PM) OmnomIRC: <Deep Thought> this is a test
(4:01:51 PM) jimbauwen: :D
(4:01:57 PM) OmnomIRC: <Deep Thought> Ah well.
(4:02:15 PM) OmnomIRC: <Deep Thought> wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
(4:02:19 PM) OmnomIRC: <Deep Thought> It still wraps...
(4:02:25 PM) OmnomIRC: <Deep Thought> Guess that can be taken out?
Title: Re: Long lines
Post by: Deep Toaster on May 14, 2011, 02:49:28 pm
Wow... I wonder if that even makes it to IRC...

Some clients actually block it:

Quote from: #omnimaga
[08:03:53] <+jimbauwen> Hmm.. it doesn't appear in irc

Maybe Netham could just add some CSS to prevent wrapping? That way if anyone hax's their way to putting in a really long line it still doesn't show.
Title: Re: Long lines
Post by: DJ Omnimaga on May 14, 2011, 07:19:41 pm
It seems the line is shorter in JosJuice's quote. I think it is fine, though, if IRC supports them too.
Title: Re: Long lines
Post by: Netham45 on May 18, 2011, 07:15:23 pm
I cut the max length in half. It's still possible to directly call it with a longer message, but it's easy to tell who is doing it, and we can just ban them.
Title: Re: Long lines
Post by: DJ Omnimaga on May 18, 2011, 07:50:13 pm
What is the exact lenght now?
Title: Re: Long lines
Post by: Netham45 on May 18, 2011, 07:57:08 pm
250
Title: Re: Long lines
Post by: DJ Omnimaga on May 18, 2011, 07:58:47 pm
Ah ok good. Personally I would set it to 128 or something, even if IRC allows longer lines sometimes. It will discourage ppl from using long lines. Does it stops letting you type at 250 or does it just truncates your line?
Title: Re: Long lines
Post by: Netham45 on May 18, 2011, 07:59:33 pm
It stops letting you type.

I had it set at 128 before and it was annoying how short it was. People had to send 2 lines for one message.
Title: Re: Long lines
Post by: DJ Omnimaga on May 18, 2011, 07:59:54 pm
Oh ok. I guess iot should be fine how it is then