Raised This Month: $51 Target: $400
 12% 

[admin.sma] client_infochanged: change equal to equali


  
 
 
Thread Tools Display Modes
Author Message
VEN
Veteran Member
Join Date: Jan 2005
Old 02-09-2007 , 03:19   [admin.sma] client_infochanged: change equal to equali
#1

I believe when fixing the bug (revision 3298) you missed this also
Code:
public client_infochanged(id) {      // ...  
     if (!equal(newname, oldname))
         accessUser(id, newname)      // ... }
VEN is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 02-09-2007 , 03:26   Re: [admin.sma] client_infochanged: change equal to equali
#2

Technically that would be harmless because a name change from "VEN" to "VEn" would still net the proper access (since it's in accessUser() where it is critical), but it is an unnecessary call to accessUser(), so I'll go ahead and change it.

rev 3301

Last edited by sawce the snail; 02-09-2007 at 03:35.
sawce is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode