From 989bc000827f549730b4b14c8d056428fb64e649 Mon Sep 17 00:00:00 2001 From: NBonaparte Date: Sat, 10 Feb 2018 14:03:21 -0800 Subject: [PATCH] fix(alsa): use correct module_name --- include/modules/meta/factory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/modules/meta/factory.hpp b/include/modules/meta/factory.hpp index 7a2adca6..bbe3c22b 100644 --- a/include/modules/meta/factory.hpp +++ b/include/modules/meta/factory.hpp @@ -77,7 +77,7 @@ namespace { return new mpd_module(bar, move(module_name)); } else if (name == "internal/volume") { 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") { return new alsa_module(bar, move(module_name)); } else if (name == "internal/pulseaudio") {