diff mail/src/luan/modules/mail/SmtpCon.java @ 375:e2e70d27c258

simplify mail
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 17 Apr 2015 18:34:02 -0600
parents cbb94a7c7a9e
children d9df6d6cb927
line wrap: on
line diff
--- a/mail/src/luan/modules/mail/SmtpCon.java	Fri Apr 17 18:03:26 2015 -0600
+++ b/mail/src/luan/modules/mail/SmtpCon.java	Fri Apr 17 18:34:02 2015 -0600
@@ -78,18 +78,6 @@
 		return (String)val;
 	}
 
-	public LuanTable table() {
-		LuanTable tbl = Luan.newTable();
-		try {
-			tbl.put( "send", new LuanJavaFunction(
-				SmtpCon.class.getMethod( "send", LuanState.class, LuanTable.class ), this
-			) );
-		} catch(NoSuchMethodException e) {
-			throw new RuntimeException(e);
-		}
-		return tbl;
-	}
-
 
 	public void send(LuanState luan,LuanTable mailTbl) throws LuanException {
 		try {