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/channels.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/channels.c')
-rw-r--r-- | src/channels.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/channels.c b/src/channels.c index 2cce6266c..8a24b3ddf 100644 --- a/src/channels.c +++ b/src/channels.c @@ -241,7 +241,7 @@ void chan_set_modes(const char *source, Channel * chan, int ac, const char **av, } if (!(user = finduser(*av)) - && !(UseTS6 && ircd->ts6 && (user = find_byuid(*av)))) { + && !(ircd->ts6 && (user = find_byuid(*av)))) { if (debug) { alog("debug: MODE %s %c%c for nonexistent user %s", chan->name, (add ? '+' : '-'), mode, *av); @@ -524,7 +524,7 @@ void do_join(const char *source, int ac, const char **av) char *channame; time_t ts = time(NULL); - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { user = find_byuid(source); if (!user) user = finduser(source); @@ -620,7 +620,7 @@ void do_kick(const char *source, int ac, const char **av) continue; } - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { user = find_byuid(s); if (!user) { user = finduser(s); @@ -668,7 +668,7 @@ void do_part(const char *source, int ac, const char **av) struct u_chanlist *c; char *channame; - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { user = find_byuid(source); if (!user) user = finduser(source); @@ -855,7 +855,7 @@ void do_sjoin(const char *source, int ac, const char **av) *end2 = 0; - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { user = find_byuid(s); if (!user) user = finduser(s); @@ -940,7 +940,7 @@ void do_sjoin(const char *source, int ac, const char **av) *end2++ = csmodes[(int) *s++]; *end2 = 0; - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { user = find_byuid(s); if (!user) user = finduser(s); @@ -1015,7 +1015,7 @@ void do_sjoin(const char *source, int ac, const char **av) *end2++ = csmodes[(int) *s++]; *end2 = 0; - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { user = find_byuid(s); if (!user) user = finduser(s); @@ -1069,7 +1069,7 @@ void do_sjoin(const char *source, int ac, const char **av) } free((char *)s); } else if (ac == 2) { - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { user = find_byuid(source); if (!user) user = finduser(source); @@ -1144,7 +1144,7 @@ void do_cmode(const char *source, int ac, const char **av) } /* :42XAAAAAO TMODE 1106409026 #ircops +b *!*@*.aol.com */ - if (UseTS6 && ircd->ts6) { + if (ircd->ts6) { if (isdigit(av[0][0])) { ac--; av++; |