From a439070021646ae63e2377721cf12cac1183e542 Mon Sep 17 00:00:00 2001 From: wsor4035 <24964441+wsor4035@users.noreply.github.com> Date: Tue, 4 Jan 2022 01:07:10 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: benrob0329 --- doc/modchannels.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/modchannels.adoc b/doc/modchannels.adoc index 6602c85..8350df6 100644 --- a/doc/modchannels.adoc +++ b/doc/modchannels.adoc @@ -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. \ No newline at end of file +CAUTION: The message will not if channel is not writable or invalid. \ No newline at end of file