[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OpenVerse] Patch to eliminate join/part messages for an ignored nick
I'm not at my computer that has a CVS image so I can't easily merge
this in properly right now. This patch removes the "<*>blah<*>
entered the room" and "<*>blah<*> left the room" messages for a nick
that has ignore speech or ignore all turned on. I think it works
right.
It's available at
http://justice.loyola.edu/~elange/openverse/ignore-enter-part.patch
To install:
cd /usr/lib
patch -p0 < ~/path/ignore-enter-part.patch
*** OpenVerse/lib/BaseFunc.tcl Mon Mar 13 14:39:49 2000
--- OpenVerse/lib/BaseFunc.tcl-org Mon Mar 13 14:31:18 2000
***************
*** 547,554 ****
}
! if {[lsearch -exact $MV(ignore.all) $who] == -1 && \
! [lsearch -exact $MV(ignore.speech) $who] == -1} {
! InsertIntoChat 1 "<*>$who<*> Entered the room\n"
! }
if {![string compare $image "default.gif"]} {
image create photo $who -file "$MV(images)/default.gif"
--- 547,551 ----
}
! InsertIntoChat 1 "<*>$who<*> Entered the room\n"
if {![string compare $image "default.gif"]} {
image create photo $who -file "$MV(images)/default.gif"
***************
*** 635,642 ****
set MV($who.nomoremove) 1
.top.c delete $MV($who.icon)
! if {[lsearch -exact $MV(ignore.all) $who] == -1 && \
! [lsearch -exact $MV(ignore.speech) $who] == -1} {
! InsertIntoChat 1 "<*>$who<*> Left the room\n"
! }
if {$MV($who.haschat)} {
.top.c delete $MV($who.text)
--- 632,636 ----
set MV($who.nomoremove) 1
.top.c delete $MV($who.icon)
! InsertIntoChat 1 "<*>$who<*> Left the room\n"
if {$MV($who.haschat)} {
.top.c delete $MV($who.text)
-------------------------------------------------------
--
Cruise -
OpenVerse Visual Chat - http://openverse.org/
-----------------------------------------------------------------
To unsubscribe to the OpenVerse mailing list send a message
to openverse-request@openverse.org with the following word
in the BODY of the message.
UNSUBSCRIBE
If you need assistance from a human, email cruise@openverse.org
-----------------------------------------------------------------