]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/proto-p10.c
svsnick and 1 param auth
[irc/evilnet/x3.git] / src / proto-p10.c
index 44654ae4868fc4554b48addd4c92229a1ba517b5..7e85830fc59b30eccd6bc40efec5bd64e01f622e 100644 (file)
@@ -1805,7 +1805,15 @@ static CMD_FUNC(cmd_mark)
             return 0;
         }
 
-        target->version_reply = strdup(unsplit_string(argv + 3, argc - 3, NULL));
+        char *version = unsplit_string(argv + 3, argc - 3, NULL);
+        if(!version)
+            version = "";
+
+        target->version_reply = strdup(version);
+
+        if(match_ircglob(version, "WebTV;*"))
+            target->no_notice = true; /* webbies cant see notices */
+
         return 1;
     }
     /* unknown type of mark */