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
289dfa61f1
commit
1f112a04f4
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue