Skip to content
Permalink
Browse files

Fix saying {0} left IRC instead of [nick] left IRC

  • Loading branch information...
UnknownShadow200 committed Jan 23, 2018
1 parent a729aa0 commit b5d53c7938caf9f0418295761b8a966e11091d76
Showing with 1 addition and 1 deletion.
  1. +1 −1 fCraft/Network/IRC.cs
@@ -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);
}

0 comments on commit b5d53c7

Please sign in to comment.
You can’t perform that action at this time.