|
@@ -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"]
|
|
|
}
|
|
|
}
|
|
|
|