Index: Changes

===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v
retrieving revision 1.1.1.1.2.1.2.1.2.201
diff -u -r1.1.1.1.2.1.2.1.2.201 Changes
--- Changes	2000/08/18 19:04:02	1.1.1.1.2.1.2.1.2.201
+++ Changes	2000/08/19 10:08:57
@@ -560,3 +560,4 @@
 - Added IRIX support (does it work?)
 - Fixed crypter so it actually functions (Makefile now sets mode 700) and
   it encrypts X and N lines too.
+- Fixed empty mode sends in register_user, reported by Bagge
This commit is contained in:
stskeeps 2000-08-19 10:08:58 +00:00
parent 34b46855a2
commit 06a6b4c07f
2 changed files with 3 additions and 1 deletions

View file

@ -560,3 +560,4 @@
- Added IRIX support (does it work?)
- Fixed crypter so it actually functions (Makefile now sets mode 700) and
it encrypts X and N lines too.
- Fixed empty mode sends in register_user, reported by Bagge

View file

@ -971,7 +971,8 @@ static int register_user(cptr, sptr, nick, username, umode, virthost)
sendto_one(nsptr, ":%s PRIVMSG %s@%s :IDENTIFY %s",
sptr->name, NickServ, SERVICES_NAME, sptr->passwd);
/* Force the user to join the given chans -- codemastr */
sendto_one(cptr,":%s MODE %s :%s", cptr->name, cptr->name, buf);
if (buf[1] != '\0')
sendto_one(cptr,":%s MODE %s :%s", cptr->name, cptr->name, buf);
if (strcmp(AUTO_JOIN_CHANS, "0"))
{