[svn] Remove #define UFLAGS. We haven't allowed this
undocumented extension to the IRC protocol for years (allowing an initial umode in USER).
This commit is contained in:
parent
e2b44358a2
commit
81795a910c
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
jilles 2007/04/15 16:54:50 UTC (20070415-3414)
|
||||
Log:
|
||||
Move new_local_user hook, so it is possible to call
|
||||
exit_client() from it, refusing the connection.
|
||||
|
||||
|
||||
Changes: Modified:
|
||||
+3 -1 trunk/doc/hooks.txt (File Modified)
|
||||
+10 -9 trunk/src/s_user.c (File Modified)
|
||||
|
||||
|
||||
jilles 2007/04/15 16:49:56 UTC (20070415-3412)
|
||||
Log:
|
||||
Only free PreClient struct when the rest of the Client
|
||||
|
|
|
@ -1 +1 @@
|
|||
#define SERNO "20070415-3412"
|
||||
#define SERNO "20070415-3414"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_user.c 1459 2006-05-26 20:50:41Z jilles $
|
||||
* $Id: m_user.c 3416 2007-04-15 20:18:54Z jilles $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -38,8 +38,6 @@
|
|||
#include "sprintf_irc.h"
|
||||
#include "blacklist.h"
|
||||
|
||||
#define UFLAGS (FLAGS_INVISIBLE|FLAGS_WALLOP|FLAGS_SERVNOTICE)
|
||||
|
||||
static int mr_user(struct Client *, struct Client *, int, const char **);
|
||||
|
||||
struct Message user_msgtab = {
|
||||
|
@ -48,7 +46,7 @@ struct Message user_msgtab = {
|
|||
};
|
||||
|
||||
mapi_clist_av1 user_clist[] = { &user_msgtab, NULL };
|
||||
DECLARE_MODULE_AV1(user, NULL, NULL, user_clist, NULL, NULL, "$Revision: 1459 $");
|
||||
DECLARE_MODULE_AV1(user, NULL, NULL, user_clist, NULL, NULL, "$Revision: 3416 $");
|
||||
|
||||
static int do_local_user(struct Client *client_p, struct Client *source_p,
|
||||
const char *username, const char *realname);
|
||||
|
|
Loading…
Reference in New Issue