diff --git a/exec/load/salib.js b/exec/load/salib.js
index 32d0bd5693124ef523132064ea73a487e281ede4..17692bfd202dbb6efead5095738c5d04fbc500cd 100644
--- a/exec/load/salib.js
+++ b/exec/load/salib.js
@@ -17,11 +17,11 @@ function SPAMC_Message(messagefile, addr, port)
 		this.port='783';
 	this.messagefile=messagefile;
 	this.DoCommand=Message_DoCommand;
-	this.check getter=function() { return(this.DoCommand('CHECK')); };
-	this.symbols getter=function() { return(this.DoCommand('SYMBOLS')); };
-	this.report getter=function() { return(this.DoCommand('REPORT')); };
-	this.report_ifspam getter=function() { return(this.DoCommand('REPORT_IFSPAM')); };
-	this.process getter=function() { return(this.DoCommand('PROCESS')); };
+	this.check =function() { return(this.DoCommand('CHECK')); };
+	this.symbols =function() { return(this.DoCommand('SYMBOLS')); };
+	this.report =function() { return(this.DoCommand('REPORT')); };
+	this.report_ifspam =function() { return(this.DoCommand('REPORT_IFSPAM')); };
+	this.process =function() { return(this.DoCommand('PROCESS')); };
 }
 
 function Message_DoCommand(command)
diff --git a/exec/spamc.js b/exec/spamc.js
index 98670d244e0a022acb6d3139894e3b79de83e621..a0812cfef21bd597839939a9947ee4eb0da3c13c 100644
--- a/exec/spamc.js
+++ b/exec/spamc.js
@@ -24,7 +24,7 @@ function main()
 	var msg=new SPAMC_Message(message_text_filename, spamd_address, spamd_tcp_port);
 	if(msg === false)
 		return;
-	var ret=msg.check;
+	var ret=msg.check();
 	if(ret === false)
 		return;
 	if(!ret.isSpam)