fix(alsa): use correct module_name

This commit is contained in:
NBonaparte 2018-02-10 14:03:21 -08:00 committed by Patrick Ziegler
parent 014ac82838
commit 989bc00082

View File

@ -77,7 +77,7 @@ namespace {
return new mpd_module(bar, move(module_name)); return new mpd_module(bar, move(module_name));
} else if (name == "internal/volume") { } else if (name == "internal/volume") {
m_log.warn("internal/volume is deprecated, use internal/alsa instead"); m_log.warn("internal/volume is deprecated, use internal/alsa instead");
return new alsa_module(bar, move(name)); return new alsa_module(bar, move(module_name));
} else if (name == "internal/alsa") { } else if (name == "internal/alsa") {
return new alsa_module(bar, move(module_name)); return new alsa_module(bar, move(module_name));
} else if (name == "internal/pulseaudio") { } else if (name == "internal/pulseaudio") {