Преглед на файлове

modified .o -

Modified .o - not to deop the nick that issued the cmd
Daniel Voipan преди 6 години
родител
ревизия
5c78805f95
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      BlackTools/Commands/BT.LocalCmds.tcl

+ 1 - 0
BlackTools/Commands/BT.LocalCmds.tcl

@@ -721,6 +721,7 @@ if {[string equal -nocase $arg "-"]} {
 	foreach opnick [chanlist $chan] {
 if {![isop $opnick $chan]} { continue }
 if {[isbotnick $opnick]} { continue }
+if {[string equal -nocase $opnick $nick]} { continue }
 if {[onchan $black(chanserv) $chan] && ![setting:get $chan xonly]} {
 	blacktools:tell $nick $host $hand $chan $chan1 o.1 $black(chanserv)
 	return