commit b3ca9a5

default  ·  2025-01-19 17:39:07 +0000 UTC
parent e42cf9b
changed note* commands checking.
1 files changed,  +3, -1
M main.c
M main.c
+3, -1
 1@@ -622,7 +622,9 @@ int main(int argc, char *argv[])
 2         return 0;
 3     }
 4 
 5-    if (xs_match(cmd, "note|note_unlisted|note_mention")) { /** **/
 6+    if (strcmp(cmd, "note") == 0 ||             /** **/
 7+        strcmp(cmd, "note_unlisted") == 0 ||    /** **/
 8+        strcmp(cmd, "note_mention") == 0) {     /** **/
 9         xs *content = NULL;
10         xs *msg = NULL;
11         xs *c_msg = NULL;