- Added NO_TILDE in include/config.h to prevent ~ from being prefixed
to usernames for which ident could not be retreived, can only be used
if DO_IDENT is unset (default for rubiks-ircd)
+ - Added AOPER_AUTO to include/config.h which allows SA opers to
+ automatically be set with UNAME +Aa
- Added cleaning of zlib/Makefile and zlib/zconf.h which was missing
in bahamut release
*
*/
-/* $Id: config.h,v 1.9 2005/01/14 07:50:00 mwiggins Exp $ */
+/* $Id: config.h,v 1.10 2005/01/14 13:15:33 mmondor Exp $ */
#ifndef __config_include__
#define __config_include__
*/
#define NO_TILDE
+/* AOPER_AUTO
+ * Should opers which have A rights automatically be granted UMODE +A
+ */
+#define AOPER_AUTO
+
/* SSL
* SSL support stolen from fqircd
*/
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: s_user.c,v 1.7 2005/01/14 07:50:01 mwiggins Exp $ */
+/* $Id: s_user.c,v 1.8 2005/01/14 13:15:33 mmondor Exp $ */
#include "struct.h"
#include "common.h"
sptr->umode |= UMODE_I;
sendto_serv_butone(cptr, ":%s MODE %s :+I", parv[0], parv[0]);
#endif
+#ifdef AOPER_AUTO
+ if (OPIsSAdmin(sptr)) {
+ sptr->umode |= UMODE_A | UMODE_a;
+ sendto_serv_butone(cptr, ":%s MODE %s :+Aa", parv[0], parv[0]);
+ }
+#endif
Count.oper++;
if (IsMe(cptr))
sendto_one(sptr, rpl_str(RPL_YOUREOPER), me.name, parv[0]);
sptr->umode|=(UMODE_s|UMODE_g|UMODE_w|UMODE_n);
#endif
sptr->oflag = aoper->flags;
+#ifdef AOPER_AUTO
+ if (OPIsSAdmin(sptr))
+ sptr->umode |= (UMODE_A | UMODE_a);
+#endif
Count.oper++;
add_to_list(&oper_list, sptr);
throttle_remove(oper_ip);