CVSROOT : /home/coder-com/cvs
Module : ircu2.10
Branch tags: u2_10_11_01
Commit time: 2002-09-06 17:34:56 UTC
Modified files:
Tag: u2_10_11_01
ChangeLog ircd/channel.c
Log message:
Author: Kev <[EMAIL PROTECTED]>
Log message:
Use &me as the apparent source if the actual source is a server.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.123.4.3 ircu2.10/ChangeLog:1.290.2.123.4.4
--- ircu2.10/ChangeLog:1.290.2.123.4.3 Thu Sep 5 22:56:39 2002
+++ ircu2.10/ChangeLog Fri Sep 6 12:34:46 2002
@@ -1,3 +1,9 @@
+2002-09-06 Kevin L Mitchell <[EMAIL PROTECTED]>
+
+ * ircd/channel.c (modebuf_flush_int): somehow missed this--set
+ apparent source to me if actual source is a server or if its an
+ OPMODE
+
2002-09-05 Kevin L Mitchell <[EMAIL PROTECTED]>
* INSTALL: one-character typo
Index: ircu2.10/ircd/channel.c
diff -u ircu2.10/ircd/channel.c:1.73.2.9 ircu2.10/ircd/channel.c:1.73.2.9.4.1
--- ircu2.10/ircd/channel.c:1.73.2.9 Wed Jul 17 17:55:40 2002
+++ ircu2.10/ircd/channel.c Fri Sep 6 12:34:46 2002
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: channel.c,v 1.73.2.9 2002/07/17 22:55:40 kev Exp $
+ * $Id: channel.c,v 1.73.2.9.4.1 2002/09/06 17:34:46 kev Exp $
*/
#include "config.h"
@@ -1371,8 +1371,8 @@
if (mbuf->mb_add == 0 && mbuf->mb_rem == 0 && mbuf->mb_count == 0)
return 0;
- /* Ok, if we were given the OPMODE flag, hide the source if its a user */
- if (mbuf->mb_dest & MODEBUF_DEST_OPMODE && !IsServer(mbuf->mb_source))
+ /* Ok, if we were given the OPMODE flag or if it's a server, hide source */
+ if (mbuf->mb_dest & MODEBUF_DEST_OPMODE || IsServer(mbuf->mb_source))
app_source = &me;
else
app_source = mbuf->mb_source;
----------------------- End of diff -----------------------