Doesn't leave when finished playing. Totaly stable, tested and proven closes #62

This commit is contained in:
Master Kwoth committed 2016-02-25 05:57:54 +01:00
1 parent f9a1ca0c50
commit ec0c3c86e0
4 files changed
+28 -18

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ namespace NadekoBot.Modules {
.Description("Completely stops the music, unbinds the bot from the channel, and cleans up files.")
.Do(e => {
if (musicPlayers.ContainsKey(e.Server) == false) return;
musicPlayers[e.Server].Stop();
musicPlayers[e.Server].Stop(true);
});
cgb.CreateCommand("p")