mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 21:55:42 +12:00
Fix blank name in /command
This commit is contained in:
parent
7ced894158
commit
66162d2490
1 changed files with 3 additions and 1 deletions
|
@ -5798,7 +5798,9 @@ namespace HISP.Server
|
||||||
channel = Chat.ChatChannel.Dm;
|
channel = Chat.ChatChannel.Dm;
|
||||||
string find = channelString.Substring(1);
|
string find = channelString.Substring(1);
|
||||||
nameTo = "";
|
nameTo = "";
|
||||||
// Search for closest user
|
if (find == "")
|
||||||
|
break;
|
||||||
|
// Search for closest-matching user
|
||||||
foreach (GameClient client in GameClient.ConnectedClients)
|
foreach (GameClient client in GameClient.ConnectedClients)
|
||||||
{
|
{
|
||||||
if (client.LoggedIn)
|
if (client.LoggedIn)
|
||||||
|
|
Loading…
Add table
Reference in a new issue