]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/sockhelp.cpp
added items to the tavern.dat, added the filename option to the config file
[irc/gameservirc.git] / gameserv / sockhelp.cpp
index 5eec5f3b08b8b17119062e7d83f2eec5f9cd674b..a5af1e3564ee5744db41a0cc605d027051725d32 100644 (file)
@@ -39,13 +39,7 @@ int atoport(char *service, char *proto)
 struct in_addr *atoaddr(char *address)
 {
   struct hostent *host;
-  static struct in_addr saddr;
 
-  /* First try it as aaa.bbb.ccc.ddd. */
-//  saddr.s_addr = inet_addr(address);
-//  if (saddr.s_addr != 0) {
-//    return &saddr;
-//  }
   host = gethostbyname(address);
   if (host != NULL) {
     return (struct in_addr *) *host->h_addr_list;