1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 19:56:39 +02:00

Cleanup in misc.cpp.

This commit is contained in:
Naram Qashat
2010-07-30 21:47:28 -04:00
parent afb3782aa3
commit 602d2378f5
5 changed files with 110 additions and 145 deletions
+1 -1
View File
@@ -1467,7 +1467,7 @@ Entry *entry_create(const Anope::string &mask)
/* Only check the host if it's not a pure wildcard */
if (!host.empty() && !str_is_pure_wildcard(host))
{
if (ircd->cidrchanbei && str_is_cidr(host, &ip, &cidr, cidrhost))
if (ircd->cidrchanbei && str_is_cidr(host, ip, cidr, cidrhost))
{
entry->cidr_ip = ip;
entry->cidr_mask = cidr;