#427 problem to join channel!

open
nobody
None
5
2003-10-16
2003-10-16
Anonymous
No

I run the lastest xchat version 2.0.5 on linux
when i try to join a channel like #i"s
i do a 'join #i"s' then i join the #is channel
just like xchat appear to drop the "
I tried to change the font it does nothing.
Fk.

Discussion

  • Daniel Drake

    Daniel Drake - 2003-11-03

    Logged In: YES
    user_id=900981

    Heres a fix that works. Not sure I'm doing it the right way
    however.

    --- xchat-2.0.5/src/common/outbound.c 2003-09-05
    12:12:52.000000000 +0100
    +++ xchat-dsd/src/common/outbound.c 2003-11-03
    21:42:05.102742912 +0000
    @@ -1732,7 +1732,7 @@
    static int
    cmd_join (struct session *sess, char *tbuf, char *word[],
    char *word_eol[])
    {
    - char *chan = word[2];
    + char *chan = word_eol[2];
    if (*chan)
    {
    char *po, *pass = word[3];

     
  • Nobody/Anonymous

    Logged In: NO

    hm tried a /list #i"s and then right cklick and join channel ?

     
  • Mike Battersby

    Mike Battersby - 2004-03-25

    Logged In: YES
    user_id=6651

    This is a more general problem, in that there's no way to
    escape a " character so process_data_init
    (src/common/outbound.c) doesn't remove it.

    It wouldn't be hard to fix, but knowing what the right way
    to do things should be is not easy. We do want a way of
    escaping spaces in names of things (currently done with
    doublequote), but there is no way of getting the doublequote
    itself out.

    One option would be to have two "s in a row map to one " in
    the output, the same way that things like SQL do it. The
    only thing that breaks is expecting "" to give the empty string.

    If that's done then you probably should also fix things like
    menu joins, for completeness sake.

    - mib

     

Log in to post a comment.