From 81795a910cfaed40cde4a90705aa4c42e85ad686 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 15 Apr 2007 13:18:54 -0700 Subject: [PATCH] [svn] Remove #define UFLAGS. We haven't allowed this undocumented extension to the IRC protocol for years (allowing an initial umode in USER). --- ChangeLog | 11 +++++++++++ include/serno.h | 2 +- modules/m_user.c | 6 ++---- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index d268afe6..f30337ae 100644 --- a/ChangeLog +++ b/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 diff --git a/include/serno.h b/include/serno.h index e097cffc..48ef6cc6 100644 --- a/include/serno.h +++ b/include/serno.h @@ -1 +1 @@ -#define SERNO "20070415-3412" +#define SERNO "20070415-3414" diff --git a/modules/m_user.c b/modules/m_user.c index c8d710c9..a36e3206 100644 --- a/modules/m_user.c +++ b/modules/m_user.c @@ -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);