Closed idoash4 closed 8 years ago
Can one of the admins verify this patch? Type 'ok to test' to test.
ok to test
Yay. I'll look over when im home
so whats the status of this?
@BlackXnt The only issue I see is this:
If you send an invite to someone who doesn't have auto-accept turned on at membership level MEMBERS, but realize you need to add them as MODS, the second /nlip will generate a second invitation.
Fix should be simple -- use an "add or update" approach to invitation storage. Simply changing the DB layer will likely suffice, leave all your front code as is (interaction handling doesn't care if an invitation already exists or not, only if they are a member or not).
@ProgrammerDan Completely forgot to handle duplicate invitations. Should be good now.
Is this ready for merge?
@erocs Good to merge?
Should be, although I screwed up inviteplayer for you. I can merge if you want.
On Sun, Jan 17, 2016 at 7:23 AM, BlackXnt notifications@github.com wrote:
@erocs https://github.com/erocs Good to merge?
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/NameLayer/pull/154#issuecomment-172338484.
I already fixed it with my last commit. Tested it on Civtest. Your change to inviteplayer is working as well.
@rourke750