Commit 6994eda
committed
fix: error message when changing credentials
Received error message: TwitchLib.Client.Exceptions.IllegalAssignmentException: While the client is connected, you are unable to change the connection credentials. Please disconnect first and then change them.
Updating the code to only run the credential changes when there is an
actual change. Disconnecting before we change the credentials.1 parent b5e34a7 commit 6994eda
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| |||
0 commit comments