aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-16 16:16:29 +0100
committerGravatar Sadie Powell2022-04-16 16:16:29 +0100
commit30edd1070df3ddb2ae64b61b65c25f88a0b61e49 (patch)
tree85b33545d32405f7d531bfac2d0b991a6eba3e70 /src/modules/m_spanningtree/main.cpp
parentFix the command used to retrieve the number of cores on Alpine. (diff)
parentBump peter-evans/create-pull-request from 3 to 4 (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index e63d6322f..5846c8000 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -393,7 +393,7 @@ ModResult ModuleSpanningTree::OnPreTopicChange(User* user, Channel* chan, const
// other servers will drop our FTOPIC. This restriction will be removed when the protocol is updated.
if ((chan->topicset >= ServerInstance->Time()) && (Utils->serverlist.size() > 1))
{
- user->WriteNumeric(ERR_CHANOPRIVSNEEDED, chan->name, "Retry topic change later");
+ user->WriteNumeric(ERR_UNAVAILRESOURCE, chan->name, "Retry topic change later");
return MOD_RES_DENY;
}
return MOD_RES_PASSTHRU;