forked from GitHub/dbot
replaceWith empty if no q[3]
This commit is contained in:
parent
5b965657bb
commit
6e08b184f6
@ -10,6 +10,8 @@ var regex = function(dbot) {
|
||||
replaceWith = q[3],
|
||||
last,
|
||||
replacement;
|
||||
|
||||
if(!replaceWith) replaceWith = "";
|
||||
|
||||
if(q[1] != null) {
|
||||
var user = q[1];
|
||||
|
Loading…
Reference in New Issue
Block a user