Skip to content

Commit

Permalink
Keep interface
Browse files Browse the repository at this point in the history
As suggested by cursey
  • Loading branch information
qewqew authored Jul 22, 2016
1 parent 52d9d34 commit ad4fae4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/Defaults.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Scans for patterns in specific modules code section.
function scan(sig, name) {
if (name === undefined)
name = 'client.exe';
function scan(name, sig) {
if (sig == undefined) {
sig = name;
name = 'client.exe';
}

var ranges = Module.enumerateRangesSync(name, 'r-x');

Expand Down

0 comments on commit ad4fae4

Please sign in to comment.