Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit fbd3e7f7 authored by deuce's avatar deuce

Allow colons in ban masks.

parent 06f97207
......@@ -526,7 +526,7 @@ function create_ban_mask(str,kline) {
tmp_banstr[2] = "";
var bchar_counter = 0;
var part_counter = 0; // BAN: 0!1@2 KLINE: 0@1
var regexp="[A-Za-z\{\}\`\^\_\|\\]\\[\\\\0-9\-.*?\~]";
var regexp="[A-Za-z\{\}\`\^\_\|\\]\\[\\\\0-9\-.*?\~:]";
var finalstr;
for (bchar in str) {
if (str[bchar].match(regexp)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment