projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rewrote IRC cache parser to be (hopefully) more stable
[NeonServV5.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 985362d17c2edf8b88835911fdbaee9088f9dc19..093ed80b03618803c579b327e829e9767d32ecce 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-522,7
+522,7
@@
int isFakeHost(char *host) {
char *p1, *p2 = host;
//find the last dot to identify if the hostmask is a fake host
- while((p1 = str
str(p2, "."
))) {
+ while((p1 = str
chr(p2, '.'
))) {
p2 = p1 + 1;
}
//TLD database: http://www.iana.org/domains/root/db/