1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 16:33:13 +02:00

- Made it so that when 'java' is enabled for a listen block, then the 2nd parameter to

NICK is not seen as a password on this port. Patch from afolentes (#0003097).
This commit is contained in:
Bram Matthys
2006-11-03 19:23:30 +00:00
parent 4b3d9c126e
commit fc3f121cf7
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -1318,3 +1318,5 @@
add the same token twice. Didn't cause any trouble, normally, though...
- Updated ukrainian-w1251 and belarussian-w1251 charsets: some characters were previously
included that shouldn't. Reported by avb (#0003102), patch supplied by Bock.
- Made it so that when 'java' is enabled for a listen block, then the 2nd parameter to
NICK is not seen as a password on this port. Patch from afolentes (#0003097).
+2 -1
View File
@@ -706,7 +706,8 @@ DLLFUNC CMD_FUNC(m_nick)
/* Copy password to the passwd field if it's given after NICK
* - originally by taz, modified by Wizzu
*/
if ((parc > 2) && (strlen(parv[2]) <= PASSWDLEN))
if ((parc > 2) && (strlen(parv[2]) <= PASSWDLEN)
&& !(sptr->listener->umodes & LISTENER_JAVACLIENT))
{
if (sptr->passwd)
MyFree(sptr->passwd);