```\n// If a user is delegating back to themselves, they regain their community voting power, so adjust totals up\nif (_delegator == _delegatee) {\n  _updateTotalCommunityVotingPower(_delegator, true);\n\n// If a user delegates away their votes, they forfeit their community voting power, so adjust totals down\n} else if (currentDelegate == _delegator) {\n  _updateTotalCommunityVotingPower(_delegator, false);\n}\n```\n