+ if (IsChannelName(mask))
+ {
+ resv_p = hash_find_resv(mask);
+ if (resv_p != NULL)
+ {
+ sendto_one(source_p, form_str(RPL_TESTLINE),
+ me.name, source_p->name,
+ resv_p->hold ? 'q' : 'Q',
+ resv_p->hold ? (long) ((resv_p->hold - rb_current_time()) / 60) : 0L,
+ resv_p->name, resv_p->passwd);
+ /* this is a false positive, so make sure it isn't counted in stats q
+ * --nenolod
+ */
+ resv_p->port--;
+ }
+ else
+ sendto_one(source_p, form_str(RPL_NOTESTLINE),
+ me.name, source_p->name, parv[1]);
+ return 0;
+ }
+