Skip to content

Commit

Permalink
[Release] Version 3.3.1
Browse files Browse the repository at this point in the history
Changelog:
- Fixed a NRE if channel is null in Intialize (the default value)
  • Loading branch information
Syzuna authored Nov 3, 2022
2 parents 58a8727 + 12dec99 commit 0442183
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions TwitchLib.Client.Enums/TwitchLib.Client.Enums.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>TwitchLib.Client.Enums</PackageId>
<VersionPrefix>3.3.0</VersionPrefix>
<VersionPrefix>3.3.1</VersionPrefix>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<Description>Project containing all of the enums used in TwitchLib.Client.</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand All @@ -18,8 +18,8 @@
<RepositoryType>Git</RepositoryType>
<PackageTags>twitch library irc chat c# csharp api events pubsub net standard 2.0</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
<AssemblyVersion>3.3.0</AssemblyVersion>
<FileVersion>3.3.0</FileVersion>
<AssemblyVersion>3.3.1</AssemblyVersion>
<FileVersion>3.3.1</FileVersion>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
</Project>
6 changes: 3 additions & 3 deletions TwitchLib.Client.Models/TwitchLib.Client.Models.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>TwitchLib.Client.Models</PackageId>
<VersionPrefix>3.3.0</VersionPrefix>
<VersionPrefix>3.3.1</VersionPrefix>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<Description>Project contains all of the models used in TwitchLib.Client.</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand All @@ -18,8 +18,8 @@
<RepositoryType>Git</RepositoryType>
<PackageTags>twitch library irc chat c# csharp api events pubsub net standard 2.0</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
<AssemblyVersion>3.3.0</AssemblyVersion>
<FileVersion>3.3.0</FileVersion>
<AssemblyVersion>3.3.1</AssemblyVersion>
<FileVersion>3.3.1</FileVersion>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion TwitchLib.Client/TwitchClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ public TwitchClient(IClient client = null, ClientProtocol protocol = ClientProto
/// <param name="autoReListenOnExceptions">By default, TwitchClient will silence exceptions and auto-relisten for overall stability. For debugging, you may wish to have the exception bubble up, set this to false.</param>
public void Initialize(ConnectionCredentials credentials, string channel = null, char chatCommandIdentifier = '!', char whisperCommandIdentifier = '!', bool autoReListenOnExceptions = true)
{
if (channel[0] == '#') channel = channel.Substring(1);
if (channel != null && channel[0] == '#') channel = channel.Substring(1);
initializeHelper(credentials, new List<string>() { channel }, chatCommandIdentifier, whisperCommandIdentifier, autoReListenOnExceptions);
}

Expand Down
8 changes: 4 additions & 4 deletions TwitchLib.Client/TwitchLib.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>TwitchLib.Client</PackageId>
<VersionPrefix>3.3.0</VersionPrefix>
<VersionPrefix>3.3.1</VersionPrefix>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<Description>Client component of TwitchLib. This component allows you to access Twitch chat and whispers, as well as the events that are sent over this connection.</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand All @@ -13,13 +13,13 @@
<PackageProjectUrl>https://github.com/TwitchLib/TwitchLib.Client</PackageProjectUrl>
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
<Copyright>Copyright 2022</Copyright>
<PackageReleaseNotes>Add TargetUserId to TimedOut event</PackageReleaseNotes>
<PackageReleaseNotes>Fixed a NRE if channel is null in Initialize</PackageReleaseNotes>
<RepositoryUrl>https://github.com/TwitchLib/TwitchLib.Client</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageTags>twitch library irc chat c# csharp api events pubsub net standard 2.0</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
<AssemblyVersion>3.3.0</AssemblyVersion>
<FileVersion>3.3.0</FileVersion>
<AssemblyVersion>3.3.1</AssemblyVersion>
<FileVersion>3.3.1</FileVersion>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>

Expand Down

0 comments on commit 0442183

Please sign in to comment.