Skip to content

Commit b5d53c7

Browse files
Fix saying {0} left IRC instead of [nick] left IRC
1 parent a729aa0 commit b5d53c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fCraft/Network/IRC.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ void HandleIrcPartQuit(IRCMessage msg) {
462462
// Announce parts/quits of IRC people (except the bots)
463463
if (ConfigKey.IRCBotAnnounceIRCJoins.Enabled() && !IsBotNick(msg.Nick)) {
464464
if (String.IsNullOrEmpty(msg.Channel)) {
465-
Server.Message("&I(IRC) {0} left IRC");
465+
Server.Message("&I(IRC) {0} left IRC", msg.Nick);
466466
} else {
467467
Server.Message("&I(IRC) {0} left the IRC channel ({1})", msg.Nick, msg.Channel);
468468
}

0 commit comments

Comments
 (0)