Skip to content

Commit

Permalink
Fix saying {0} left IRC instead of [nick] left IRC
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Jan 23, 2018
1 parent a729aa0 commit b5d53c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/Network/IRC.cs
Expand Up @@ -462,7 +462,7 @@ void HandleMessage([NotNull] string message)
// Announce parts/quits of IRC people (except the bots)
if (ConfigKey.IRCBotAnnounceIRCJoins.Enabled() && !IsBotNick(msg.Nick)) {
if (String.IsNullOrEmpty(msg.Channel)) {
Server.Message("&I(IRC) {0} left IRC");
Server.Message("&I(IRC) {0} left IRC", msg.Nick);
} else {
Server.Message("&I(IRC) {0} left the IRC channel ({1})", msg.Nick, msg.Channel);
}
Expand Down

0 comments on commit b5d53c7

Please sign in to comment.