Typen gefixt

Change-Id: I29d1b7a3bcf291881993a371a3fde9b634d8f9cb
diff --git a/secure/udp/www.news.c b/secure/udp/www.news.c
index ce068db..1e4588b 100644
--- a/secure/udp/www.news.c
+++ b/secure/udp/www.news.c
@@ -115,11 +115,11 @@
 
 string ArticleList(string group)
 {
-  string *list, ret;
+  string ret;
   mapping t;
   int i;
 
-  list = NEWSD->GetNotes(group = old_explode(group, ":")[0]);
+  mixed list = NEWSD->GetNotes(group = old_explode(group, ":")[0]);
   if (!pointerp(list)) {
   return "<H2>Gruppe: "+group+"</H2>"
     "<H3>existiert nicht.</H3>"
diff --git a/secure/udp/www.who.c b/secure/udp/www.who.c
index 6646569..013e87b 100644
--- a/secure/udp/www.who.c
+++ b/secure/udp/www.who.c
@@ -11,7 +11,7 @@
 #include <properties.h>
 #include <www.h>
 
-string MakeLink(mixed entry)
+string MakeLink(<object|string>* entry)
 {
   string nm;
   int idx;
@@ -30,12 +30,18 @@
 
 string Request(mapping cmds)
 {
-  string *who, *list; int i, s;
-  if (!sizeof(cmds)) return ERROR("Anfrage ung&uuml;ltig!");
-  who = allocate(s = sizeof(list = WHO));
-  for(i = s; i--; i > 0) 
-    who[i] = MakeLink(list[s - i - 1]);
-  // who = map(WHO, #'MakeLink/*'*/);
+  if (!sizeof(cmds))
+    return ERROR("Anfrage ung&uuml;ltig!");
+  // Wer-Liste abfragen
+  <object|string>** list = WHO;
+  int size=sizeof(list);
+  string *who = allocate(size);
+
+  // Listenreihenfolge umkehren.
+  foreach(int i : size) {
+    who[i] = MakeLink(list[<i+1]);
+  }
+
   return "<H2>Wer ist gerade in "MUDNAME"?</H2><HR>"
        + "<OL><LI>"+implode(who, "\n<LI>")+"</OL>";
 }