Skip to content
Snippets Groups Projects
Commit 0a9551d2 authored by deuce's avatar deuce
Browse files

Fix thing that's broken.

parent ef7a313f
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ Bot_Commands["DIS"].command = function (target, onick, ouh, srv, lbl, cmd) {
if(last_matched) { // last thing we matched -- '' means take a stab
last_match_point = pos;
orig = last_matched.match(/([^\s]+)/).slice(1).map(clean_string);
re = new RegExp("\\b" + orig.join("\\s+") + "\\s+([^\\s]+" + (new Array(degree)).join("\\s+[^\\s]+") + ")(\\s+)",'i');
re = new RegExp("\\b" + orig.join("\\s+") + "\\s+([^\\s]+" + (new Array(arg)).join("\\s+[^\\s]+") + ")(\\s+)",'i');
matched = remainder = '';
last_match_point = pos;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment