Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2006-06-09 02:16:27 UTC
Modified files:
Tag: u2_10_12_branch
ChangeLog ircd/m_whois.c
Log message:
Fix /whois handling of secret local channels for locops.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.111 ircu2.10/ChangeLog:1.710.2.112
--- ircu2.10/ChangeLog:1.710.2.111 Thu Jun 8 19:13:51 2006
+++ ircu2.10/ChangeLog Thu Jun 8 19:16:17 2006
@@ -1,5 +1,10 @@
2006-06-08 Michael Poole <[EMAIL PROTECTED]>
+ * ircd/m_whois.c (do_whois): Prefix '*' to names of secret (local)
+ channels for locops as well as global opers.
+
+2006-06-08 Michael Poole <[EMAIL PROTECTED]>
+
* ircd/m_gline.c (ms_gline): Use final argument as G-line reason.
2006-06-08 Michael Poole <[EMAIL PROTECTED]>
Index: ircu2.10/ircd/m_whois.c
diff -u ircu2.10/ircd/m_whois.c:1.37 ircu2.10/ircd/m_whois.c:1.37.2.1
--- ircu2.10/ircd/m_whois.c:1.37 Fri Jul 15 14:12:02 2005
+++ ircu2.10/ircd/m_whois.c Thu Jun 8 19:16:17 2006
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: m_whois.c,v 1.37 2005/07/15 21:12:02 entrope Exp $
+ * $Id: m_whois.c,v 1.37.2.1 2006/06/09 02:16:17 entrope Exp $
*/
/*
@@ -176,7 +176,7 @@
}
if (IsDeaf(acptr))
*(buf + len++) = '-';
- if (IsOper(sptr) && !ShowChannel(sptr, chptr))
+ if (!ShowChannel(sptr, chptr))
*(buf + len++) = '*';
if (IsDelayedJoin(chan) && (sptr != acptr))
*(buf + len++) = '<';
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches