1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 04:26:39 +02:00

Fix splitting in the middle of some command names.

This commit is contained in:
Sadie Powell
2025-04-22 17:36:26 +01:00
parent f5a85c69d2
commit f362959834
16 changed files with 49 additions and 44 deletions
+1 -4
View File
@@ -299,10 +299,7 @@ Anope::string BotInfo::GetQueryCommand(const Anope::string &command, const Anope
if (!extra.empty())
buf.append(" ").append(extra);
// We use a substitute (ASCII 0x1A) instead of a space (ASCII 0x20) so it
// doesn't get line wrapped when put into a message. The line wrapper will
// convert this to a space before it is sent to clients.
return buf.replace_all_cs("\x20", "\x1A");
return buf.nobreak();
}
BotInfo *BotInfo::Find(const Anope::string &nick, bool nick_only)