]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2005/005075.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2005 / 005075.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] SET founder
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20SET%20founder&In-Reply-To=001601c5e1a0%24912c8c80%24082105d5%40server">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="005074.html">
11 <LINK REL="Next" HREF="005081.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] SET founder</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20SET%20founder&In-Reply-To=001601c5e1a0%24912c8c80%24082105d5%40server"
17 TITLE="[IRCServices] SET founder">achurch at achurch.org
18 </A><BR>
19 <I>Sun Nov 6 11:22:27 PST 2005</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005074.html">[IRCServices] SET founder
22 </A></li>
23 <LI>Next message: <A HREF="005081.html">[IRCServices] Services 5.0.56 released
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#5075">[ date ]</a>
27 <a href="thread.html#5075">[ thread ]</a>
28 <a href="subject.html#5075">[ subject ]</a>
29 <a href="author.html#5075">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i>When a services admin uses /cs set #chan password as a services admin and
35 </I>&gt;<i>not as founder services informs all the opers about this with globops.
36 </I>&gt;<i>So if i want not to inform about a set pass i can just change the founder of
37 </I>&gt;<i>the channel to me and then &quot;normally&quot; /cs set #chan paassword.
38 </I>&gt;<i>
39 </I>&gt;<i>This is the logic of the whole thing.
40 </I>
41 This is a good point. What Services should really do is send a
42 wallops on any such use of servadmin privileges (if the appropriate
43 configuration option is set), but I'll wait for 5.1 to do a proper
44 implementation of that. In the meantime, all founder changes, whether by a
45 servadmin or not, are logged to the logfile; if you also want wallops for
46 servadmin changes, the following patch (not tested) to 5.0.55 should do the
47 job.
48
49 --Andrew Church
50 <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
51 <A HREF="http://achurch.org/">http://achurch.org/</A>
52
53 ---------------------------------------------------------------------------
54
55 Index: modules/chanserv/set.c
56 ===================================================================
57 RCS file: /var/local/cvsroot/ircservices/modules/chanserv/set.c,v
58 retrieving revision 2.42.2.5
59 diff -u -r2.42.2.5 set.c
60 --- modules/chanserv/set.c 13 Aug 2005 04:13:10 -0000 2.42.2.5
61 +++ modules/chanserv/set.c 6 Nov 2005 02:41:55 -0000
62 @@ -196,6 +196,10 @@
63 notice_lang(s_ChanServ, u, CHAN_SET_FOUNDER_TOO_MANY_CHANS, param);
64 return;
65 }
66 + if (!is_founder(u, ci) &amp;&amp; WallSetpass) {
67 + wallops(s_ChanServ, &quot;\2%s\2 set founder as Services admin for &quot;
68 + &quot;channel \2%s\2&quot;, u-&gt;nick, ci-&gt;name);
69 + }
70 uncount_chan(ci);
71 oldngi = get_ngi_id(ci-&gt;founder);
72 module_log(&quot;Changing founder of %s from %s to %s by %s!%s@%s&quot;, ci-&gt;name,
73 </PRE>
74
75
76
77
78
79
80
81 <!--endarticle-->
82 <HR>
83 <P><UL>
84 <!--threads-->
85 <LI>Previous message: <A HREF="005074.html">[IRCServices] SET founder
86 </A></li>
87 <LI>Next message: <A HREF="005081.html">[IRCServices] Services 5.0.56 released
88 </A></li>
89 <LI> <B>Messages sorted by:</B>
90 <a href="date.html#5075">[ date ]</a>
91 <a href="thread.html#5075">[ thread ]</a>
92 <a href="subject.html#5075">[ subject ]</a>
93 <a href="author.html#5075">[ author ]</a>
94 </LI>
95 </UL>
96
97 </body></html>