summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-12 20:34:27 -0500
committerJune McEnroe <june@causal.agency>2021-01-12 20:34:27 -0500
commit355a9768b1b62c58d5c2d943159b1d470adf1e0a (patch)
treea8dd5f81714350de95c98378211976cea21ac06e /bin
parentProcess htagml file line by line (diff)
downloadsrc-355a9768b1b62c58d5c2d943159b1d470adf1e0a.tar.gz
src-355a9768b1b62c58d5c2d943159b1d470adf1e0a.zip
Prevent matching the same tag twice
Diffstat (limited to '')
-rw-r--r--bin/htagml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/htagml.c b/bin/htagml.c
index c1e75dd9..b72b5e39 100644
--- a/bin/htagml.c
+++ b/bin/htagml.c
@@ -128,6 +128,7 @@ int main(int argc, char *argv[]) {
 				if (regexec(&tags[i].regex, buf, 0, NULL, 0)) continue;
 			}
 			tag = &tags[i];
+			tag->num = num;
 			break;
 		}
 		if (!tag) {
1Don't insert color codes for non-mentionsJune McEnroe 2020-02-11Take first two words in colorMentionsJune McEnroe 2020-02-11Use time_t for save signatureJune McEnroe 2020-02-11Set self.nick to * initiallyJune McEnroe 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe 2020-02-11Cast towupper to wchar_tJune McEnroe 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe