|
@@ -8,7 +8,7 @@ require 'digest/md5'
|
|
# .. allowed commands .. ROLES = CAPABILITIES
|
|
# .. allowed commands .. ROLES = CAPABILITIES
|
|
# normal users have ROLE broadcast. Roles are defined on a per-user basis .. in a config.
|
|
# normal users have ROLE broadcast. Roles are defined on a per-user basis .. in a config.
|
|
|
|
|
|
-$version = "0.10big_yadda"
|
|
|
|
|
|
+$version = "0.11big_yadda"
|
|
|
|
|
|
$role_commands = Hash[
|
|
$role_commands = Hash[
|
|
"everyone" => ["PING", "WHO", "C", "PART"],
|
|
"everyone" => ["PING", "WHO", "C", "PART"],
|
|
@@ -146,7 +146,7 @@ def consuming()
|
|
put_log "C #{m_user}: #{m_pload}"
|
|
put_log "C #{m_user}: #{m_pload}"
|
|
|
|
|
|
elsif m_cmd =~ /^WHO$/
|
|
elsif m_cmd =~ /^WHO$/
|
|
- reply_to_msg(msg, "WHO_RE", "#{$user}' on '#{$version}' ROLES: #{$user_roles[$user].join(", ")}")
|
|
|
|
|
|
+ reply_to_msg(msg, "WHO_RE", "'#{$user}' on '#{$version}' ROLES: #{$user_roles[$user].join(", ")}")
|
|
|
|
|
|
elsif m_cmd =~ /^PART$/
|
|
elsif m_cmd =~ /^PART$/
|
|
put_log "PARTED User '#{m_user}' just left the party."
|
|
put_log "PARTED User '#{m_user}' just left the party."
|