From 78be74489b188930f09282c3ed271a2d6657bec9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Fri, 25 Feb 2000 17:07:31 -0800
Subject: [PATCH] bugfix

Rev: lib/modules/Protocols.pmod/X.pmod/Auth.pmod:1.7
---
 lib/modules/Protocols.pmod/X.pmod/Auth.pmod | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/modules/Protocols.pmod/X.pmod/Auth.pmod b/lib/modules/Protocols.pmod/X.pmod/Auth.pmod
index 987fbfcdd2..4ebe2151e7 100644
--- a/lib/modules/Protocols.pmod/X.pmod/Auth.pmod
+++ b/lib/modules/Protocols.pmod/X.pmod/Auth.pmod
@@ -1,6 +1,6 @@
 /* Auth.pmod
  *
- * $Id: Auth.pmod,v 1.6 1999/12/11 19:44:02 grubba Exp $
+ * $Id: Auth.pmod,v 1.7 2000/02/26 01:07:31 hubbe Exp $
  */
 
 /*
@@ -58,9 +58,9 @@ class auth_file
       }
   }
 
-  void lookup_local(string name, int display)
+  mapping lookup_local(string name, int display)
   {
-    auth[256] && auth[256][make_key(name, display)];
+    return auth[256] && auth[256][make_key(name, display)];
   }
 
   string ip2string(string ip)
@@ -70,9 +70,9 @@ class auth_file
 				    { return (int) s; }));
   }
   
-  void lookup_ip(string ip, int display)
+  mapping lookup_ip(string ip, int display)
   {
-    auth[0] && auth[0][make_key(ip2string(ip), display)];
+    return auth[0] && auth[0][make_key(ip2string(ip), display)];
   }
 }
 
-- 
GitLab