Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#596 /msg doesn't work as expected with multiple lines.

open
nobody
None
5
2004-04-29
2004-04-29
Anonymous
No

when one does a message with line breaks in it, one
expects that all subsequent lines will be /msg'ed.
unfortunately, only the content up to the first line
break is /msg'ed, and the rest is pasted in the channel
you're in.

Bug otherwise known as "how I got banned from #gentoo
for flooding". :)

Discussion

  • Logged In: NO

    sorry. I noticed this with version 2.0.8, but it's
    apparently been there a while.

     
  • Mike Battersby
    Mike Battersby
    2004-04-29

    Logged In: YES
    user_id=6651

    The problem here is that fe-gtk calls handle_multiline() in
    common/outbound.c with the buffer with embedded newlines.
    Then handle_multiline splits it up as if you had typed each
    line itself into the text box, so only the first one has the
    /msg bit at the front.

    Since the IRC servers (and the protocol itself probably)
    only support limited lengths of commands it wouldn't work to
    have the front end call handle_user_input directly. I'm
    guessing here though.

    I'll think about the best way to fix this.

    - mib