commit b3ca9a50e7fe365a7757d39b7a3c192827b0b680
parent e42cf9b5c055dd0fb0a9de139f0273cf7e9d7084
Author: default <nobody@localhost>
Date: Sun, 19 Jan 2025 18:39:07 +0100
changed note* commands checking.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -622,7 +622,9 @@ int main(int argc, char *argv[])
return 0;
}
- if (xs_match(cmd, "note|note_unlisted|note_mention")) { /** **/
+ if (strcmp(cmd, "note") == 0 || /** **/
+ strcmp(cmd, "note_unlisted") == 0 || /** **/
+ strcmp(cmd, "note_mention") == 0) { /** **/
xs *content = NULL;
xs *msg = NULL;
xs *c_msg = NULL;