mirror of
https://github.com/matrix-construct/construct
synced 2024-09-08 09:45:41 +02:00
ENCAPs cannot come from local clients, no need to check.
This commit is contained in:
parent
beafd0ee32
commit
5beadfb00f
1 changed files with 0 additions and 3 deletions
|
@ -105,9 +105,6 @@ me_presence(struct Client *client_p, struct Client *source_p, int parc, const ch
|
||||||
{
|
{
|
||||||
const char *val;
|
const char *val;
|
||||||
|
|
||||||
if(MyClient(source_p) && !IsFloodDone(source_p))
|
|
||||||
flood_endgrace(source_p);
|
|
||||||
|
|
||||||
if(!IsClient(source_p))
|
if(!IsClient(source_p))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue