# | Line 29 | Line 29 | |
---|---|---|
29 | #include "client.h" | |
30 | #include "common.h" | |
31 | #include "hash.h" | |
32 | + | #include "hostmask.h" |
33 | #include "irc_string.h" | |
34 | #include "sprintf_irc.h" | |
35 | #include "ircd.h" | |
# | Line 217 | Line 218 | add_id(struct Client *client_p, struct C | |
218 | actualBan->username = user; | |
219 | actualBan->host = host; | |
220 | actualBan->len = len-2; /* -2 for @ and ! */ | |
221 | + | actualBan->type = parse_netmask(host, &actualBan->addr, &actualBan->bits); |
222 | ||
223 | if (IsClient(client_p)) | |
224 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |