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);
|
this->load(index, pluginDir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// QApplication::exit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PluginController::load(QFileInfo index, QDir pluginDir)
|
void PluginController::load(QFileInfo index, QDir pluginDir)
|
||||||
|
@ -154,12 +153,10 @@ int luaC2SystemMsg(lua_State *L)
|
||||||
lua::push(L, false);
|
lua::push(L, false);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
//const char *channel = luaL_optstring(L, 1, NULL);
|
|
||||||
QString channel;
|
QString channel;
|
||||||
QString text;
|
QString text;
|
||||||
lua::pop(L, &text);
|
lua::pop(L, &text);
|
||||||
lua::pop(L, &channel);
|
lua::pop(L, &channel);
|
||||||
//const char *text = luaL_optstring(L, 2, NULL);
|
|
||||||
const auto chn = getApp()->twitch->getChannelOrEmpty(channel);
|
const auto chn = getApp()->twitch->getChannelOrEmpty(channel);
|
||||||
if (chn->isEmpty())
|
if (chn->isEmpty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue