Merge pull request #85 from RockyTV/caps

Fix NRE thrown by messages with no message tags
This commit is contained in:
Drew DeVault 2017-10-01 11:37:38 -04:00 committed by GitHub
commit ab980aed56
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ namespace ChatSharp
public IrcMessage(string rawMessage)
{
RawMessage = rawMessage;
Tags = new KeyValuePair<string, string>[] { };
if (rawMessage.StartsWith("@"))
{