| View previous topic :: View next topic |
| Author |
Message |
mm Halfop
Joined: 01 Jul 2004 Posts: 78
|
Posted: Sat Jul 30, 2005 2:03 am Post subject: |
|
|
oh i think its problem with the nick length, if nick length more than 9 then it doesn't work and if nick is less than 9 then it works, so it means adduser fails due to nicklength. Do i need to change the nick length in the source?
oh log says XXX 0 in both cases even if it worked or not. i've added that log after
adduser $nick [maskhost [getchanhost $nick $chan]]
oh also if nick length is 12 then adduser was taking just 9.
Thanks _________________ MM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jul 30, 2005 3:21 am Post subject: |
|
|
yeah that must be it
try to truncate the $nick if necessary, using [string range] |
|
| Back to top |
|
 |
mm Halfop
Joined: 01 Jul 2004 Posts: 78
|
Posted: Sat Jul 30, 2005 10:19 pm Post subject: |
|
|
Demond, many thanks. _________________ MM |
|
| Back to top |
|
 |
|