@@ -205,7 +205,7 @@ async void SyncShineBag() {
205205 Client [ ] clients = ( args [ 0 ] . Trim ( ) == "*"
206206 ? server . Clients . Where ( c => c . Connected )
207207 : server . Clients . Where ( c =>
208- c . Connected && args . Any ( x => c . Name . StartsWith ( x ) || ( Guid . TryParse ( x , out Guid result ) && result == c . Id ) ) ) ) . ToArray ( ) ;
208+ c . Connected && args . Any ( x => c . Name == x || ( Guid . TryParse ( x , out Guid result ) && result == c . Id ) ) ) ) . ToArray ( ) ;
209209 foreach ( Client user in clients ) {
210210 if ( moreThanOne ) builder . Append ( ", " ) ;
211211 builder . Append ( user . Name ) ;
@@ -225,7 +225,7 @@ async void SyncShineBag() {
225225 Client [ ] clients = ( args [ 0 ] . Trim ( ) == "*"
226226 ? server . Clients . Where ( c => c . Connected )
227227 : server . Clients . Where ( c =>
228- c . Connected && args . Any ( x => c . Name . StartsWith ( x ) || ( Guid . TryParse ( x , out Guid result ) && result == c . Id ) ) ) ) . ToArray ( ) ;
228+ c . Connected && args . Any ( x => c . Name == x || ( Guid . TryParse ( x , out Guid result ) && result == c . Id ) ) ) ) . ToArray ( ) ;
229229 foreach ( Client user in clients ) {
230230 if ( moreThanOne ) builder . Append ( ", " ) ;
231231 moreThanOne = true ;
@@ -254,7 +254,7 @@ await user.Send(new ChangeStagePacket {
254254 Client [ ] clients = ( args [ 0 ] . Trim ( ) == "*"
255255 ? server . Clients . Where ( c => c . Connected )
256256 : server . Clients . Where ( c =>
257- c . Connected && args . Any ( x => c . Name . StartsWith ( x ) || ( Guid . TryParse ( x , out Guid result ) && result == c . Id ) ) ) ) . ToArray ( ) ;
257+ c . Connected && args . Any ( x => c . Name == x || ( Guid . TryParse ( x , out Guid result ) && result == c . Id ) ) ) ) . ToArray ( ) ;
258258 foreach ( Client user in clients ) {
259259 if ( moreThanOne ) builder . Append ( ", " ) ;
260260 moreThanOne = true ;
0 commit comments