Browse Source

Minor style edit

tags/docs-0.9
RogueException 9 years ago
parent
commit
f8b6105226
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/DiscordClient.Users.cs

+ 1
- 1
src/Discord.Net/DiscordClient.Users.cs View File

@@ -175,7 +175,7 @@ namespace Discord
if (name == null) throw new ArgumentNullException(nameof(name));
CheckReady();

return FindUsers(channel.Members, channel.IsPrivate ? (long?)null : channel.Server.Id, name, null, exactMatch);
return FindUsers(channel.Members, channel.IsPrivate ? (long?)null : channel.Server.Id, name, exactMatch: exactMatch);
}

private IEnumerable<User> FindUsers(IEnumerable<User> users, long? serverId, string name, short? discriminator = null, bool exactMatch = false)


Loading…
Cancel
Save