Allow ENCAP GCAP to be reused to broadcast capability changes to the network.
This means that modules can now be added which change CAPs.
This commit is contained in:
parent
c1d32bdf89
commit
b37edd511a
|
@ -114,7 +114,10 @@ me_gcap(struct Client *client_p, struct Client *source_p,
|
|||
|
||||
/* already had GCAPAB?! */
|
||||
if(!EmptyString(source_p->serv->fullcaps))
|
||||
return 0;
|
||||
{
|
||||
source_p->serv->caps = 0;
|
||||
MyFree(source_p->serv->fullcaps);
|
||||
}
|
||||
|
||||
DupString(source_p->serv->fullcaps, parv[1]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue