diff options
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 614c7cd83..49f5dc920 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -376,7 +376,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; |
