summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-19 20:47:44 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-19 20:47:44 +0000
commit4da5460d4491abebff8947b9d09f57e8cf51d615 (patch)
treeaaeda4f7d5326d44a5981c00f5e4447cc77346e9 /src
parentdf7542c649deea93c52fd46bd88983ab7faa1749 (diff)
- Forward-port -r1685 [STATS q|Q now shows how many times a resv{}
block has been matched] git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1687 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/messages.tab2
-rw-r--r--src/resv.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/messages.tab b/src/messages.tab
index b0514b7..559a0af 100644
--- a/src/messages.tab
+++ b/src/messages.tab
@@ -241,7 +241,7 @@ static struct NumericInfo replies[] = {
/* 214 */ {"RPL_STATSNLINE", ":%s 214 %s %c %s * %s %d %s", NULL},
/* 215 */ {"RPL_STATSILINE", ":%s 215 %s %c %s * %s@%s %d %s", NULL},
/* 216 */ {"RPL_STATSKLINE", ":%s 216 %s %s %s * %s :%s", NULL},
-/* 217 */ {"RPL_STATSQLINE", ":%s 217 %s %c %s :%s", NULL},
+/* 217 */ {"RPL_STATSQLINE", ":%s 217 %s %c %u %s :%s", NULL},
/* 218 */ {"RPL_STATSYLINE", ":%s 218 %s %c %s %u %u %u %u %u %u %u/%u %u/%u %s", NULL},
/* 219 */ {"RPL_ENDOFSTATS", ":%s 219 %s %c :End of /STATS report", NULL},
/* 220 */ {"RPL_STATSPLINE", ":%s 220 %s %c %d %s %d %s :%s", NULL},
diff --git a/src/resv.c b/src/resv.c
index d83ec75..ccb5c11 100644
--- a/src/resv.c
+++ b/src/resv.c
@@ -174,7 +174,7 @@ report_resv(struct Client *source_p)
conf = ptr->data;
sendto_one(source_p, form_str(RPL_STATSQLINE),
me.name, source_p->name,
- conf->until ? 'q' : 'Q',
+ conf->until ? 'q' : 'Q', conf->count,
conf->name, conf->reason);
}
@@ -183,7 +183,7 @@ report_resv(struct Client *source_p)
conf = ptr->data;
sendto_one(source_p, form_str(RPL_STATSQLINE),
me.name, source_p->name,
- conf->until ? 'q' : 'Q',
+ conf->until ? 'q' : 'Q', conf->count,
conf->name, conf->reason);
}
}