public override void CheckRequest() { if (ChatSessionManager.IsNickNameExisted(_nickCmd.NickName)) { _errorCode = ChatError.NickNameInUse; } base.CheckRequest(); }
protected override void CheckRequest() { base.CheckRequest(); if (ChatSessionManager.IsNickNameExisted(_request.NickName)) { _errorCode = ChatError.NickNameExisted; return; } }
public override void CheckRequest() { base.CheckRequest(); if (ChatSessionManager.IsNickNameExisted(_cmd.NickName)) { _errorCode = ChatError.IRCError; _sendingBuffer = ChatIRCError.BuildNoSuchNickError(); } }