From 8fc031fb84e7e266fbdf476b59d97f529c28dc36 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Wed, 25 Mar 2009 16:12:24 +0000 Subject: Fix bug #1009, patch inspired by DukePyrolator, add a TS6 SID generator from DukePyrolator, as well as change SendServer() to take a Server struct and use the result of new_server() in the SendServer() call instead. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2206 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 2 ++ include/services.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index ad79cf00c..e16665714 100644 --- a/include/extern.h +++ b/include/extern.h @@ -841,6 +841,8 @@ E void ts6_uid_init(); E void ts6_uid_increment(unsigned int slot); E const char *ts6_uid_retrieve(); +E const char *ts6_sid_retrieve(); + /**** sessions.c ****/ E Exception *exceptions; diff --git a/include/services.h b/include/services.h index 82631d883..e340d21f8 100644 --- a/include/services.h +++ b/include/services.h @@ -1321,7 +1321,7 @@ class CoreExport IRCDProto virtual void SendSVSPart(const char *, const char *, const char *) { } virtual void SendSWhois(const char *, const char *, const char *) { } virtual void SendEOB() { } - virtual void SendServer(const char *, int, const char *) = 0; + virtual void SendServer(Server *) = 0; virtual void ProcessUsermodes(User *, int, const char **) = 0; virtual int IsNickValid(const char *) { return 1; } virtual int IsChannelValid(const char *) { return 1; } -- cgit