Skip to content

Commit

Permalink
Remove trailing space from RPL_NAMREPLY
Browse files Browse the repository at this point in the history
This is disallowed by https://modern.ircdocs.horse/#rplnamreply-353 and
RFC2812; allowed by RFC1459 ambiguous grammar; and only irc2 seems to send
such a trailing space.
  • Loading branch information
progval authored and spb committed Apr 14, 2024
1 parent 51af180 commit 51df31c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sable_ircd/src/utils/channel_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub fn send_channel_names(
}
current_line.write_fmt(format_args!("{}{} ", p, n))?;
}
current_line.pop(); // Remove trailing space
lines.push(current_line);

for line in lines {
Expand Down

0 comments on commit 51df31c

Please sign in to comment.