Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/Enhance IRC Relay colors. Fixes issue #13 #47

Merged
merged 1 commit into from
Feb 13, 2015

Conversation

ZeroKnight
Copy link
Member

  • Conforms to mIRC color codes, so most IRC clients should support them
    correctly.
  • Normal, white colored Game->IRC text is no longer sent as pure black, but
    simply with no color code so IRC clients will use their default color. This
    prevents relayed game text being unreadable in IRC clients with dark
    backgrounds.

@@ -116,7 +116,7 @@ void ircsend(ircnet *n, const char *msg, ...)
}
}

void converttext(char *dst, const char *src)
void converttext_cube2irc(char *dst, const char *src)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about naming these just cube2irc and irc2cube?

- Conforms to mIRC color codes, so most IRC clients should support them
  correctly.
- Normal, white colored Game->IRC text is no longer sent as pure black, but
  simply with no color code so IRC clients will use their default color. This
  prevents relayed game text being unreadable in IRC clients with dark
  backgrounds.
@ZeroKnight
Copy link
Member Author

@qreeves
How about naming these just cube2irc and irc2cube?

Done

qreeves added a commit that referenced this pull request Feb 13, 2015
Fix/Enhance IRC Relay colors. Fixes issue #13
@qreeves qreeves merged commit bdb62e4 into redeclipse:master Feb 13, 2015
@ZeroKnight ZeroKnight deleted the irc-colors branch February 13, 2015 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants