Fixed compile error

This commit is contained in:
RogueException
2015-12-08 04:23:45 -04:00
parent 8b42312bd5
commit d2de658df0

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, discriminator, exactMatch);
return FindUsers(channel.Members, channel.IsPrivate ? (long?)null : channel.Server.Id, name, null, exactMatch);
}
private IEnumerable<User> FindUsers(IEnumerable<User> users, long? serverId, string name, short? discriminator = null, bool exactMatch = false)