mirror of https://github.com/calzoneman/sync.git
Remove syntax error
This commit is contained in:
parent
8a2dfa004d
commit
be315e9e23
|
@ -593,7 +593,7 @@ Database.prototype.addChannelBan = function (channame, ip, name, banBy,
|
|||
if(typeof callback !== "function")
|
||||
callback = blackHole;
|
||||
|
||||
if(!$util.isValidChannelName(channame))) {
|
||||
if(!$util.isValidChannelName(channame)) {
|
||||
callback("Invalid channel name", null);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue