aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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[])
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;