if (!pcre_exec(csg_curpat, NULL, linestart, strlen(linestart), 0, 0, NULL, 0)) {
chanservsendmessage(np, "%s", linestart);
if (++csg_matches >= csg_maxmatches) {
+ chanservstdmessage(np, QM_TRUNCATED, csg_maxmatches);
chanservstdmessage(np, QM_ENDOFLIST);
free(csg_curpat);
deregisterhandler(fd, 1);
msg(QM_CHANLEV_SUSPENDREASON, "Suspended: $0", "s"),
msg(QM_CHANLEV_SUSPENDSINCE, "Suspended since: $0", "T"),
msg(QM_CHANLEV_SUSPENDBY, "Suspended by: $0", "s"),
+ msg(QM_TRUNCATED, "Warning: list truncated to $0 items.", "d"),
}
EndMessages()
#endif