summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-12-07 16:20:59 +0100
committerHimbeer <himbeer@disroot.org>2024-12-07 16:20:59 +0100
commit13f911c8970b77c7dfcdf1f201641512c97dc5cf (patch)
tree0a5f2519f920d379454b9b52b2585e6ad048a3de
parent0f652a56d16bdd1afabe1c2f3125450caabd7b3d (diff)
Fix documentation comments incorrectly referring to ToCltModChanMsg
-rw-r--r--tocltcmds.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tocltcmds.go b/tocltcmds.go
index 17933f6..9b6f64a 100644
--- a/tocltcmds.go
+++ b/tocltcmds.go
@@ -729,7 +729,7 @@ type ToCltModChanMsg struct {
Msg string
}
-// ToCltModChanMsg tells the client it has received a signal on a mod channel.
+// ToCltModChanSig tells the client it has received a signal on a mod channel.
type ToCltModChanSig struct {
Signal ModChanSig
Channel string
@@ -748,7 +748,7 @@ const (
//go:generate stringer -type ModChanSig
-// ToCltModChanMsg is sent when node metadata near the client changes.
+// ToCltNodeMetasChanged is sent when node metadata near the client changes.
type ToCltNodeMetasChanged struct {
//mt:lenhdr 32
Changed map[[3]int16]*NodeMeta