Fixed cRoot::FindAndDoWithPlayer().
Now /kick and /ban work.
This commit is contained in:
parent
480ff3789b
commit
09e4f041dd
@ -547,10 +547,10 @@ bool cRoot::FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallbac
|
|||||||
}
|
}
|
||||||
if (Rating == NameLength) // Perfect match
|
if (Rating == NameLength) // Perfect match
|
||||||
{
|
{
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
cCallback (const AString & a_PlayerName, cPlayerListCallback & a_Callback)
|
cCallback (const AString & a_PlayerName, cPlayerListCallback & a_Callback)
|
||||||
|
Loading…
Reference in New Issue
Block a user