diff options
| author | drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b <drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-08-31 20:40:36 +0000 |
|---|---|---|
| committer | drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b <drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-08-31 20:40:36 +0000 |
| commit | 317b3e0c4efa277c29e77f8acd3e8b4b000bdc36 (patch) | |
| tree | 8fb8df7ed5b7f5912ee2fbfc0e4956c5ed152a88 /include/extern.h | |
| parent | d5a2079085b739a0eb31d1074822a2ecedc0e4fa (diff) | |
BUILD : 1.7.19 (1295) BUGS : N/A NOTES : We now have hostip in user_ struct so we can use it where needed. We wont do host_resolve() unless it is extremely necessary, coz we dont want to flood the nameserver.
git-svn-id: svn://svn.anope.org/anope/trunk@1295 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1013 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/extern.h')
| -rw-r--r-- | include/extern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/extern.h b/include/extern.h index df8b7f74a..eefe55d23 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1053,7 +1053,7 @@ E void get_session_stats(long *nrec, long *memuse); E void get_exception_stats(long *nrec, long *memuse); E int do_session(User *u); -E int add_session(char *nick, char *host); +E int add_session(char *nick, char *host, char *hostip); E void del_session(const char *host); E void load_exceptions(void); @@ -1065,6 +1065,7 @@ E void expire_exceptions(void); E Session *findsession(const char *host); E Exception *find_host_exception(const char *host); +E Exception *find_hostip_exception(const char *host, const char *hostip); E int exception_add(User * u, const char *mask, const int limit, const char *reason, const char *who, const time_t expires); |
