Paul Klumpp 12 лет назад
Родитель
Сommit
0ebc1b2c26
2 измененных файлов с 7 добавлено и 5 удалено
  1. 2 2
      cims.tcl
  2. 5 3
      cims_admin.tcl

+ 2 - 2
cims.tcl

@@ -1744,8 +1744,8 @@ namespace eval ::cims {
 
   # pls hands away again: starting up just defined configs ...
   putlog "::cims:: = Messaging Network ($mnet(version)) loaded"
-  putlog "::cims:: =  as master, reload current net-configs with .mnet_reload"
-  putlog "::cims:: =  do .rehash and .mnet_reload if you defined a new net-config."
+  putlog "::cims:: =  as master, reload current net-configs with .cims_reload"
+  putlog "::cims:: =  do .rehash and .cims_reload if you defined a new net-config."
   if {$mnet_cfg_reload_interval >= 90} {
 	  if {![info exists mnet_netconfig_timer]} {
 		  set mnet_configtimer_set 1

+ 5 - 3
cims_admin.tcl

@@ -45,7 +45,7 @@ proc ::cims::admin::allowed_channel {nick mask hand chan admin_channels} {
 	set proper_botnick [::putils::proper_botnick ${botnet-nick}]
 	foreach _try_chan $admin_channels {
 		if {[string compare -nocase ${chan} ${_try_chan}] == 0} {
-			putlog "mnet! = channel: ${chan} is allowed to administrate mnet on this bot"
+			putlog "mnet! = channel: ${chan} is allowed to administrate cims on this bot"
 			set found 1
 		} else {
 #			putlog "mnet: = not in list: $chan"
@@ -226,7 +226,8 @@ proc ::cims::admin::savesettings {nick mask hand chan text} {
 
   namespace eval ::cims {
     set proper_botnick [::putils::proper_botnick ${botnet-nick}]
-    ::putils::write_f_array "scripts/cims/save/${proper_botnick}.cims" [array get mnet_freqs_onoff]
+    ::putils::write_f_array "scripts/cims/save/${proper_botnick}_freqs" [array get mnet_freqs_onoff]
+    ::putils::write_f_array "scripts/cims/save/${proper_botnick}_colors" [array get mnet_colors_onoff]
   }
 }
 
@@ -246,7 +247,8 @@ proc ::cims::admin::loadsettings {nick mask hand chan text} {
   
   namespace eval ::cims {
     set proper_botnick [::putils::proper_botnick ${botnet-nick}]
-    array set mnet_freqs_onoff [::putils::read_f_array "scripts/cims/save/${proper_botnick}.cims"]
+    array set mnet_freqs_onoff [::putils::read_f_array "scripts/cims/save/${proper_botnick}_freqs"]
+    array set mnet_colors_onoff [::putils::read_f_array "scripts/cims/save/${proper_botnick}_colors"]
   }
 }