aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-02-28 17:20:33 +0000
committerGravatar Sadie Powell2026-02-28 17:20:33 +0000
commitc1ca22ff78b26193779cc44fdff37cf09acb9f62 (patch)
tree3ad7c28ee419cf1b3383fb0c4b3c3f8135708027 /modules
parentMerge branch 'insp4' into master. (diff)
parentFix erroneously sending RPL_ENDOFNAMES multiple times. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'modules')
-rw-r--r--modules/core/core_channel/cmd_names.cpp1
-rw-r--r--modules/core/core_channel/core_channel.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/core_channel/cmd_names.cpp b/modules/core/core_channel/cmd_names.cpp
index f801d2fbf..b994f5692 100644
--- a/modules/core/core_channel/cmd_names.cpp
+++ b/modules/core/core_channel/cmd_names.cpp
@@ -119,5 +119,4 @@ void CommandNames::SendNames(LocalUser* user, Channel* chan, bool show_invisible
}
reply.Flush();
- user->WriteNumeric(RPL_ENDOFNAMES, chan->name, "End of /NAMES list.");
}
diff --git a/modules/core/core_channel/core_channel.cpp b/modules/core/core_channel/core_channel.cpp
index adc57c2a6..dad3fe240 100644
--- a/modules/core/core_channel/core_channel.cpp
+++ b/modules/core/core_channel/core_channel.cpp
@@ -334,6 +334,7 @@ public:
// Show all members of the channel, including invisible (+i) users
cmdnames.SendNames(localuser, chan, true);
+ user->WriteNumeric(RPL_ENDOFNAMES, chan->name, "End of /NAMES list.");
}
}