Avoid show_iline_prefix showing leftovers (#266)
This commit is contained in:
parent
e9e4192e10
commit
2ef034d111
1 changed files with 1 additions and 2 deletions
|
@ -710,8 +710,7 @@ show_iline_prefix(struct Client *sptr, struct ConfItem *aconf, char *name)
|
||||||
*prefix_ptr++ = '^';
|
*prefix_ptr++ = '^';
|
||||||
if(IsOper(sptr) && IsConfExemptLimits(aconf))
|
if(IsOper(sptr) && IsConfExemptLimits(aconf))
|
||||||
*prefix_ptr++ = '>';
|
*prefix_ptr++ = '>';
|
||||||
*prefix_ptr = '\0';
|
rb_strlcpy(prefix_ptr, name, USERLEN + 1);
|
||||||
strncpy(prefix_ptr, name, USERLEN);
|
|
||||||
return (prefix_of_host);
|
return (prefix_of_host);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue