summaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-23 06:48:22 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-23 06:48:22 +0000
commit297b11d1a8e2896c5ae29f4978dfd88cdbb22f27 (patch)
tree8eafd4de288b913a74f933173f4789d57d0ba7b0 /src/channels.c
parent91e8ac0878ecac082bc1b87f433deb9fe3ad32e4 (diff)
BUILD : 1.7.5 (418) BUGS : N/A NOTES : 1. Fixed Rage IRCD compiler error, 2. Added hook for Unreal SJOIN +I support, 3. wallops() is back, 4. depricated.h added to help older modules work with the new commands
git-svn-id: svn://svn.anope.org/anope/trunk@418 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@279 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/channels.c b/src/channels.c
index d2ed718ec..cf5f0b12e 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -638,13 +638,13 @@ void do_part(const char *source, int ac, char **av)
Unreal SJOIN
- On Connect there is
- SJOIN !11LkOb #ircops +nt :@Trystan
+ On Services connect there is
+ SJOIN !11LkOb #ircops +nt :@Trystan &*!*@*.aol.com "*@*.home.com
av[0] = time stamp (base64)
av[1] = channel
av[2] = modes
- av[3] = users + bans
+ av[3] = users + bans + exceptions
On Channel Creation or a User joins an existing
Luna.NomadIrc.Net SJOIN !11LkW9 #akill :@Trystan
@@ -714,6 +714,16 @@ void do_sjoin(const char *source, int ac, char **av)
}
}
+ /* Unreal plans to add +I - for now add the hook to allow
+ 1.7.6 to work with it and not cause problems - TSL */
+ if (*s == '\'') {
+ add_invite(c, myStrGetToken(s, '\'', 1));
+ if (!end)
+ break;
+ s = end + 1;
+ continue;
+ }
+
while (csmodes[(int) *s] != 0)
*end2++ = csmodes[(int) *s++];
*end2 = 0;