Apply suggestions from code review

Co-authored-by: benrob0329 <ben@innovationplex.com>
This commit is contained in:
wsor4035 2022-01-04 01:07:10 -05:00 committed by GitHub
parent 3940703fc9
commit a439070021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,7 @@ NOTE: `channel` here means the object returned by `minetest.mod_channel_join`.
The server will leave the channel, meaning no more messages from this channel on `minetest.register_on_modchannel_message`
TIP: Set the channel to `nil`` afterwords to free resources
TIP: Set the channel to `nil` afterwords to free resources
==== channel:is_writeable()
@ -40,7 +40,7 @@ TIP: Set the channel to `nil`` afterwords to free resources
Sends to all SSMs and CSMs on the channel.
Caution: The message will not if channel is not writable or invalid.
CAUTION: The message will not if channel is not writable or invalid.
== Client Side API
@ -71,6 +71,7 @@ Used for handling messages received from the client. Is equivalent to the the se
. event_on_not_joined_channel
. state_changed
Used to handle signals generated by the mod channel system.
=== Methods
NOTE: `channel` here means the object returned by `minetest.mod_channel_join`.
@ -79,7 +80,7 @@ NOTE: `channel` here means the object returned by `minetest.mod_channel_join`.
The client will leave the channel, meaning no more messages from this channel on `minetest.register_on_modchannel_message`
TIP: Set the channel to `nil`` afterwords to free resources
TIP: Set the channel to `nil` afterwords to free resources
==== channel:is_writeable()
@ -91,4 +92,4 @@ TIP: Set the channel to `nil`` afterwords to free resources
Sends to all SSMs and CSMs on the channel.
Caution: The message will not if channel is not writable or invalid.
CAUTION: The message will not if channel is not writable or invalid.