diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 01:26:47 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 01:26:47 +0000 |
commit | 1d45a53fa2344ae65587b54889b3d5a9300e1213 (patch) | |
tree | d47f4c2e9925e09172c74140d672948c64379ac4 /src/modules.c | |
parent | 61f2ce9a41acc6016b24da58005f9b779017d7d2 (diff) |
Remove UseTS6. This is now on or off at an ircd, not a config level. Move Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1740 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/modules.c b/src/modules.c index 7120d5c4e..34025a9af 100644 --- a/src/modules.c +++ b/src/modules.c @@ -90,15 +90,17 @@ int protocol_module_init(void) * as we only have the ircd struct filled here, we have to over * here. -GD */ - if (UseTS6 && !(ircd->ts6)) { - alog("Chosen IRCd does not support TS6, unsetting UseTS6"); - UseTS6 = 0; - } - - /* We can assume the ircd supports TS6 here */ - if (UseTS6 && !Numeric) { - alog("UseTS6 requires the setting of Numeric to be enabled."); - ret = -1; + if (ircd->ts6) + { + if (!Numeric) + { + alog("This IRCd protocol requires a server numeric to be set in Anope's configuration."); + ret = -1; + } + else + { + ts6_uid_init(); + } } } |