summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar default2025-01-19 18:39:07 +0100
committerGravatar default2025-01-19 18:39:07 +0100
commitb3ca9a50e7fe365a7757d39b7a3c192827b0b680 (patch)
tree3ce2139a1c125861a1f550fc5e842ca104d5ea7c /main.c
parentNew command 'note_mention'. (diff)
downloadpenes-snac2-b3ca9a50e7fe365a7757d39b7a3c192827b0b680.tar.gz
penes-snac2-b3ca9a50e7fe365a7757d39b7a3c192827b0b680.tar.xz
penes-snac2-b3ca9a50e7fe365a7757d39b7a3c192827b0b680.zip
changed note* commands checking.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6eefbf4..5678af4 100644
--- a/main.c
+++ b/main.c
@@ -622,7 +622,9 @@ int main(int argc, char *argv[])
622 return 0; 622 return 0;
623 } 623 }
624 624
625 if (xs_match(cmd, "note|note_unlisted|note_mention")) { /** **/ 625 if (strcmp(cmd, "note") == 0 || /** **/
626 strcmp(cmd, "note_unlisted") == 0 || /** **/
627 strcmp(cmd, "note_mention") == 0) { /** **/
626 xs *content = NULL; 628 xs *content = NULL;
627 xs *msg = NULL; 629 xs *msg = NULL;
628 xs *c_msg = NULL; 630 xs *c_msg = NULL;