- Refine /nosave handling
[videosite.git] / videosite.pl
index 2e361b0..35c0809 100644 (file)
@@ -79,7 +79,7 @@ sub check_for_link {
     }
 
     # Look if we should ignore this line
-    if ($message =~ m|/nosave|) {
+    if ($message =~ m,(?:\s|^)/nosave,) {
         return;
     }