From cc0aa1aa82396e9c974370d709dab9f6a575d06e Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Mon, 30 Jan 2023 22:31:59 +0100 Subject: [PATCH] Code cleanup --- src/controllers/plugins/PluginController.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/controllers/plugins/PluginController.cpp b/src/controllers/plugins/PluginController.cpp index 6225af569..b504536af 100644 --- a/src/controllers/plugins/PluginController.cpp +++ b/src/controllers/plugins/PluginController.cpp @@ -48,7 +48,6 @@ void PluginController::initialize(Settings &settings, Paths &paths) this->load(index, pluginDir); } } - // QApplication::exit(); } void PluginController::load(QFileInfo index, QDir pluginDir) @@ -154,12 +153,10 @@ int luaC2SystemMsg(lua_State *L) lua::push(L, false); return 1; } - //const char *channel = luaL_optstring(L, 1, NULL); QString channel; QString text; lua::pop(L, &text); lua::pop(L, &channel); - //const char *text = luaL_optstring(L, 2, NULL); const auto chn = getApp()->twitch->getChannelOrEmpty(channel); if (chn->isEmpty()) {