kike: users also match their servers
This commit is contained in:
parent
68303ed788
commit
cf700a5a86
@ -1004,7 +1004,9 @@ irc_send_lusers (struct client *c)
|
||||
static bool
|
||||
irc_is_this_me (struct server_context *ctx, const char *target)
|
||||
{
|
||||
return !fnmatch (target, ctx->server_name, 0);
|
||||
// Target servers can also be matched by their users
|
||||
return !irc_fnmatch (target, ctx->server_name)
|
||||
|| str_map_find (&ctx->users, target);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user