fixed byemessage showin as greetmessage

This commit is contained in:
Master Kwoth 2016-02-03 19:08:38 +01:00
parent 370fc22f05
commit 49c20b7f00

View File

@ -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++;