]> jfr.im git - solanum.git/blobdiff - ircd/hostmask.c
newconf: add illustrative examples to comments
[solanum.git] / ircd / hostmask.c
index 3c7da5f507c0af9b4844e56fb9aa472f226a4798..49f357cad338b6bce16b55c91c79a5b19dccb5b6 100644 (file)
@@ -21,8 +21,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: hostmask.c 2757 2006-11-10 22:58:15Z jilles $
  */
 
 #include "stdinc.h"
@@ -180,7 +178,7 @@ hash_text(const char *start)
 
        while(*p)
        {
-               h = (h << 4) - (h + (unsigned char) ToLower(*p++));
+               h = (h << 4) - (h + (unsigned char) irctolower(*p++));
        }
 
        return (h & (ATABLE_SIZE - 1));