Skip to content

Client sends an incorrect USER command. #17

Description

@GoogleCodeExporter
When connecting to an IRC server, unlike defined in RFC1459, instead of
only prefixing the realname with a colon (":"), it also puts a space
between the colon and the realname, resulting in the realname being " user
@ iPhone" instead of "user @ iPhone".



In IRCServer.m,

_OutgoingData = [_OutgoingData stringByAppendingString: [NSString
stringWithFormat:@"USER %@ 8 * : %@ iPhone\r\n\r\n", [self username], [self
username]]];

should be

_OutgoingData = [_OutgoingData stringByAppendingString: [NSString
stringWithFormat:@"USER %@ 8 * :%@ iPhone\r\n\r\n", [self username], [self
username]]];



Thanks.

Original issue reported on code.google.com by peterpim...@googlemail.com on 20 May 2009 at 5:35

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions