diff --git a/exec/ircbots/dis/dis.js b/exec/ircbots/dis/dis.js
index 8bc4b40783682613aaddc761ab91a87d68fd5bfb..164a6dfc91e24d32ebfa0d6f7d0b954306b6ad41 100644
--- a/exec/ircbots/dis/dis.js
+++ b/exec/ircbots/dis/dis.js
@@ -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;