Make bad word filter only operate on strings - drop anything else.

This commit is contained in:
Dave C-J
2013-11-09 17:12:19 +00:00
parent 28e82c1351
commit 6425bd75cb
2 changed files with 6 additions and 5 deletions

View File

@@ -22,7 +22,8 @@
</script>
<script type="text/x-red" data-help-name="badwords">
<p>Analyses the <b>msg.payload</b> and tries to filter out any messages containing bad swear words...</p>
<p>Analyses the <b>msg.payload</b> and tries to filter out any messages containing bad swear words...</p>
<p><b>Note:</b> this only operates on payloads of type <b>string</b>. Everything else is blocked.</p>
</script>
<script type="text/javascript">
@@ -42,5 +43,4 @@
return this.name?"node_label_italic":"";
}
});
</script>