Rename methods that were ambiguous in meaning.
This renames some methods in the Utils class to better reflect what they do or what they provide back. It should be clearer what these methods are for now than before.
This commit is contained in:
parent
332e6b2518
commit
4eebaf6c44
4 changed files with 7 additions and 5 deletions
|
|
@ -154,7 +154,7 @@ namespace TShockAPI
|
|||
{
|
||||
if (string.IsNullOrWhiteSpace(line))
|
||||
continue;
|
||||
contains = TShock.Utils.GetIPv4Address(line).Equals(ip);
|
||||
contains = TShock.Utils.GetIPv4AddressFromHostname(line).Equals(ip);
|
||||
if (contains)
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue