mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Code cleanup
This commit is contained in:
parent
ca0bfb1900
commit
cc0aa1aa82
1 changed files with 0 additions and 3 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue