From 49c20b7f00f26b3e00c438479b47e3fdda2729f4 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Wed, 3 Feb 2016 19:08:38 +0100 Subject: [PATCH] fixed byemessage showin as greetmessage --- NadekoBot/Commands/ServerGreetCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Commands/ServerGreetCommand.cs b/NadekoBot/Commands/ServerGreetCommand.cs index 9f6ee819..f235f356 100644 --- a/NadekoBot/Commands/ServerGreetCommand.cs +++ b/NadekoBot/Commands/ServerGreetCommand.cs @@ -51,7 +51,7 @@ namespace NadekoBot.Commands { var controls = AnnouncementsDictionary[e.Server.Id]; var channel = NadekoBot.client.GetChannel(controls.ByeChannel); if (channel == null) return; - var msg = controls.GreetText.Replace("%user%", e.User.Mention).Trim(); + var msg = controls.ByeText.Replace("%user%", e.User.Mention).Trim(); if (string.IsNullOrEmpty(msg)) return; Greeted++;