m_resv.c: replace erroneous UNXLINE cluster calls with UNRESV.
This commit is contained in:
parent
25ea5d2fac
commit
2220472610
1 changed files with 2 additions and 2 deletions
|
@ -530,7 +530,7 @@ remove_resv(struct Client *source_p, const char *name, int propagated)
|
||||||
if((aconf = hash_find_resv(name)) == NULL)
|
if((aconf = hash_find_resv(name)) == NULL)
|
||||||
{
|
{
|
||||||
if(propagated && rb_dlink_list_length(&cluster_conf_list))
|
if(propagated && rb_dlink_list_length(&cluster_conf_list))
|
||||||
cluster_generic(source_p, "UNXLINE", SHARED_UNXLINE, CAP_CLUSTER, "%s", name);
|
cluster_generic(source_p, "UNRESV", SHARED_UNRESV, CAP_CLUSTER, "%s", name);
|
||||||
|
|
||||||
sendto_one_notice(source_p, ":No RESV for %s", name);
|
sendto_one_notice(source_p, ":No RESV for %s", name);
|
||||||
return;
|
return;
|
||||||
|
@ -603,7 +603,7 @@ remove_resv(struct Client *source_p, const char *name, int propagated)
|
||||||
if(aconf == NULL)
|
if(aconf == NULL)
|
||||||
{
|
{
|
||||||
if(propagated && rb_dlink_list_length(&cluster_conf_list))
|
if(propagated && rb_dlink_list_length(&cluster_conf_list))
|
||||||
cluster_generic(source_p, "UNXLINE", SHARED_UNXLINE, CAP_CLUSTER, "%s", name);
|
cluster_generic(source_p, "UNRESV", SHARED_UNRESV, CAP_CLUSTER, "%s", name);
|
||||||
|
|
||||||
sendto_one_notice(source_p, ":No RESV for %s", name);
|
sendto_one_notice(source_p, ":No RESV for %s", name);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue