예제 #1
0
 private void SetChannelTopic()
 {
     _channel.Property.SetChannelTopic(_request.ChannelTopic);
     _sendingBuffer =
         TOPICReply.BuildTopicReply(
             _channel.Property.ChannelName,
             _channel.Property.ChannelTopic);
 }
예제 #2
0
 private void GetChannelTopic()
 {
     if (_channel.Property.ChannelTopic == "" || _channel.Property.ChannelTopic == null)
     {
         _sendingBuffer =
             TOPICReply.BuildNoTopicReply(
                 _channel.Property.ChannelName);
     }
     else
     {
         _sendingBuffer =
             TOPICReply.BuildTopicReply(
                 _channel.Property.ChannelName,
                 _channel.Property.ChannelTopic);
     }
 }