mirror of
https://github.com/anope/anope.git
synced 2026-06-26 05:26:37 +02:00
Fix splitting in the middle of some command names.
This commit is contained in:
+3
-3
@@ -171,18 +171,18 @@ void Command::SendSyntax(CommandSource &source)
|
||||
if (first)
|
||||
{
|
||||
first = false;
|
||||
source.Reply("%s: \002%s %s\002", prefix.c_str(), source.command.c_str(),
|
||||
source.Reply("%s: \002%s %s\002", prefix.c_str(), source.command.nobreak().c_str(),
|
||||
Language::Translate(source.GetAccount(), syntax.c_str()));
|
||||
}
|
||||
else
|
||||
{
|
||||
source.Reply("%-*s \002%s %s\002", (int)prefix.length(), "", source.command.c_str(),
|
||||
source.Reply("%-*s \002%s %s\002", (int)prefix.length(), "", source.command.nobreak().c_str(),
|
||||
Language::Translate(source.GetAccount(), syntax.c_str()));
|
||||
}
|
||||
}
|
||||
|
||||
if (first)
|
||||
source.Reply("%s: \002%s\002", prefix.c_str(), source.command.c_str());
|
||||
source.Reply("%s: \002%s\002", prefix.c_str(), source.command.nobreak().c_str());
|
||||
}
|
||||
|
||||
bool Command::AllowUnregistered() const
|
||||
|
||||
Reference in New Issue
Block a user