summaryrefslogtreecommitdiff
path: root/include/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extern.h')
-rw-r--r--include/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h
index ad6274754..488896779 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1016,7 +1016,7 @@ E void finish_sync(Server *serv, int sync_links);
/**** sessions.c ****/
-E Exception *exceptions;
+E Exception *exceptionlist[1024];
E int16 nexceptions;
E Session *sessionlist[1024];
@@ -1038,7 +1038,7 @@ E void expire_exceptions(void);
E Session *findsession(const char *host);
E Exception *find_host_exception(const char *host);
-E int exception_add(User * u, const char *mask, const int limit,
+E Exception *exception_add(User * u, const char *mask, const int limit,
const char *reason, const char *who,
const time_t expires);