chore: remove Singleton & replace getIApp with getApp (#5514)
This commit is contained in:
@@ -32,7 +32,7 @@ QString removeModerator(const CommandContext &ctx)
|
||||
return "";
|
||||
}
|
||||
|
||||
auto currentUser = getIApp()->getAccounts()->twitch.getCurrent();
|
||||
auto currentUser = getApp()->getAccounts()->twitch.getCurrent();
|
||||
if (currentUser->isAnon())
|
||||
{
|
||||
ctx.channel->addSystemMessage(
|
||||
|
||||
Reference in New Issue
Block a user