676 |
static const char * |
static const char * |
677 |
show_iline_prefix(const struct Client *sptr, const struct MaskItem *conf) |
show_iline_prefix(const struct Client *sptr, const struct MaskItem *conf) |
678 |
{ |
{ |
679 |
static char prefix_of_host[USERLEN + 15]; |
static char prefix_of_host[USERLEN + 16]; |
680 |
char *prefix_ptr = prefix_of_host; |
char *prefix_ptr = prefix_of_host; |
681 |
|
|
682 |
if (IsConfWebIRC(conf)) |
if (IsConfWebIRC(conf)) |
693 |
*prefix_ptr++ = '='; |
*prefix_ptr++ = '='; |
694 |
if (MyOper(sptr) && IsConfExemptKline(conf)) |
if (MyOper(sptr) && IsConfExemptKline(conf)) |
695 |
*prefix_ptr++ = '^'; |
*prefix_ptr++ = '^'; |
696 |
|
if (MyOper(sptr) && IsConfExemptXline(conf)) |
697 |
|
*prefix_ptr++ = '!'; |
698 |
if (MyOper(sptr) && IsConfExemptLimits(conf)) |
if (MyOper(sptr) && IsConfExemptLimits(conf)) |
699 |
*prefix_ptr++ = '>'; |
*prefix_ptr++ = '>'; |
700 |
if (IsConfCanFlood(conf)) |
if (IsConfCanFlood(conf)) |