forked from lesderid/salty-ircd
Fix prefixed parameter serialisation
This commit is contained in:
parent
8ec20b7167
commit
0c7430abd2
|
@ -68,10 +68,10 @@ struct Message
|
|||
if(parameters.length > 1)
|
||||
{
|
||||
message ~= parameters[0 .. $-1].join(' ') ~ " ";
|
||||
if(parameters[$-1].canFind(' ') || prefixedParameter)
|
||||
{
|
||||
message ~= ":";
|
||||
}
|
||||
}
|
||||
if(parameters[$-1].canFind(' ') || prefixedParameter)
|
||||
{
|
||||
message ~= ":";
|
||||
}
|
||||
message ~= parameters[$-1];
|
||||
|
||||
|
|
Loading…
Reference in New Issue