Ah, it went a little farther to something like an execution. It would've been fine until then.
So even though it's not cool, you didn't break a rule. It would be taken as a conversation, not an act of harassment.
No moderation action should have been taken against you.
Explain it that way if a mod or owner bumps into you.