mattn / mattn/gomirc

channel names are broken

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Last character in name is lost.

$ gomirc
2015/02/05 19:12:46 Connected to localhost:6668 (127.0.0.1:6668)
JOIN s_of_p!s_of_p@lingr.com #vi
JOIN s_of_p!s_of_p@lingr.com #computer_scienc
JOIN s_of_p!s_of_p@lingr.com #momong
JOIN s_of_p!s_of_p@lingr.com #ling

These name are "vim", "computer_science", "momonga", "lingr" if correctly.

Or, this is thoj/go-ircevent's issue?

P.S.

This doesn't happen in https://github.com/mattn/gomirc/tree/37c83e4eba43a57d8f03016b8be1a7b65b8544e8 commit.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the truncated channel names shown in the issue with gomirc, then compare the current behavior with commit 37c83e4eba43a57d8f03016b8be1a7b65b8544e. Trace the channel-name handling and determine where the final character is dropped; done means JOIN output preserves names such as #vim, #computer_science, #momonga, and #lingr.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.