In the situation you described you did absolutely nothing wrong. It is good that you are wanting to know how better to follow the rules. Just remember that guests who are not admins may not have the best intentions when making accusation and they may not even know what they are talking about. If an admin warns you or gives you some direction then it is always a good idea to listen though. Keep up the good work.