refactor: Remove most raw accesses into Application (#5104)
This commit is contained in:
@@ -34,7 +34,7 @@ QString removeModerator(const CommandContext &ctx)
|
||||
return "";
|
||||
}
|
||||
|
||||
auto currentUser = getApp()->accounts->twitch.getCurrent();
|
||||
auto currentUser = getIApp()->getAccounts()->twitch.getCurrent();
|
||||
if (currentUser->isAnon())
|
||||
{
|
||||
ctx.channel->addMessage(
|
||||
|
||||
Reference in New Issue
Block a user