Update the channel notice method used for two possibilities:
1) SendChannelNotice is now deprecated and it's replacement has been available since 3.0.0(a1)
2) Use the updated WriteNotice if the version is new enough. This method was recently changed in the insp3 branch, not in a release as of yet. I'm guessing that the next release will be 3.5.0.
Rationale
Just keeping updated with the core. As for the version check, people tend to not upgrade as often as they should.
Testing Environment
I have tested this pull request on:
Operating system name and version: Ubuntu 16.04
Compiler name and version: GCC 5.4.0
Summary
Update the channel notice method used for two possibilities: 1)
SendChannelNotice
is now deprecated and it's replacement has been available since 3.0.0(a1) 2) Use the updatedWriteNotice
if the version is new enough. This method was recently changed in the insp3 branch, not in a release as of yet. I'm guessing that the next release will be 3.5.0.Rationale
Just keeping updated with the core. As for the version check, people tend to not upgrade as often as they should.
Testing Environment
I have tested this pull request on:
Operating system name and version: Ubuntu 16.04 Compiler name and version: GCC 5.4.0