]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/hash.c
Cleanup cmode help files and add cmodes provided by extensions.
[irc/rqf/shadowircd.git] / src / hash.c
index 7d57e2ff374d3e5e791f01b35631fca3680148c4..5386856b70221466daf2ef7284aaa5ec730df933 100644 (file)
@@ -31,7 +31,7 @@
 #include "client.h"
 #include "common.h"
 #include "hash.h"
-#include "irc_string.h"
+#include "match.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "send.h"
@@ -632,7 +632,7 @@ hash_find_resv(const char *name)
        {
                aconf = ptr->data;
 
-               if(!irccmp(name, aconf->name))
+               if(!irccmp(name, aconf->host))
                {
                        aconf->port++;
                        return aconf;