Changeset 374

Show
Ignore:
Timestamp:
04/24/08 09:47:24 (9 months ago)
Author:
tomoyo
Message:

SenderHostが無い場合にもPrefixにがついてしまっていたのを修正した。

Location:
TwitterIrcGateway/TwitterIrcGatewayCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • TwitterIrcGateway/TwitterIrcGatewayCore/IRCClient/IRCMessage.cs

    r359 r374  
    5151                                        // nick!~user@host 
    5252                                        _senderNick = part[0]; 
    53                                         _senderHost = part[1]; 
     53                                        _senderHost = part[1] ?? ""; 
    5454                                } else { 
    5555                                        // nick 
  • TwitterIrcGateway/TwitterIrcGatewayCore/Session.cs

    r373 r374  
    12321232                    Boolean isMatched = String.IsNullOrEmpty(group.Topic) ? true : Regex.IsMatch(line, group.Topic); 
    12331233                     
     1234                    // 0: self 
    12341235                    // 1: member exists in channel && match regex 
    12351236                    // 2: no members in channel(self only) && match regex