dchub-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dchub-dev] [patch #2329] [Patch #2329] missing hub-diffs for patch 2270


From: noreply
Subject: [Dchub-dev] [patch #2329] [Patch #2329] missing hub-diffs for patch 2270
Date: Sat, 22 Nov 2003 07:41:31 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

Patch #2329 has been updated. 

Project: 
Category: None
Status: Closed
Summary: missing hub-diffs for patch 2270

Follow-Ups:

Date: sam 22.11.2003 à 08:02
By: ericprev

Comment:
I have partially applied the patch. I have not modified plugin_nick_type to 
return -1 instead of 0 because when a user does not exist in the database, it 
does not mean it is an error (-1), this means it is a normal user (level=0)
-------------------------------------------------------

Date: sam 22.11.2003 à 10:35
By: blusseau

Comment:
Level -1 is used to disable an account.
-------------------------------------------------------

Date: sam 22.11.2003 à 11:25
By: hhgoth

Comment:
so maybe we need an other possibility to differ registered and unregistered 
users, for registered-user-commands...

but I think where's no problem to use -1 or an other negative value as default 
- both are < 0 and therefore not able e.g. to use the +passwd command
-------------------------------------------------------

Date: sam 22.11.2003 à 12:41
By: blusseau

Comment:
unregistered users are those that don't have an entry in the users.xml file
-------------------------------------------------------

Date: sam 22.11.2003 à 12:58
By: hhgoth

Comment:
I know, but if it's possible I didn't want to call so many hub-funktions 
directly to retrieve the wanted result, and setting an default=0 whitch is also 
valid for registered users is no good idea as well - why we don't use the 
opposite to the MASTER level... -32767 as default ?
-------------------------------------------------------

Date: sam 22.11.2003 à 13:41
By: blusseau

Comment:
You don't have another level for unregister user.

If you use the xml_get_user function, it return TRUE if the user exist FALSE 
otherwise. It's the good method to know if a user is register or not.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.nongnu.org/patch/?func=detailpatch&patch_id=2329&group_id=3963

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]