summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-25 16:12:24 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-25 16:12:24 +0000
commit8fc031fb84e7e266fbdf476b59d97f529c28dc36 (patch)
tree07ff1458e48da24b41b8800537409fe1f30d7ecd /include
parentd8c4e705a2139682e6da65b864097df8d66f8432 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/extern.h2
-rw-r--r--include/services.h2
2 files changed, 3 insertions, 1 deletions
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; }