Fix NRE thrown by messages with no message tags

This commit is contained in:
Alexandre Oliveira 2017-10-01 12:30:46 -03:00
parent 761a2db332
commit eda06354e1
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("@"))
{