commented out redundant output

pull/11/head
Aaron Johnson 6 years ago
parent 56630ad5b0
commit a299ba7c53

@ -32,7 +32,7 @@ def is_chat_authorized?(message, auth_chat)
end end
def process_command_srvstart(message, command, adm) def process_command_srvstart(message, command, adm)
puts "Received command: " + "srvstart".green #puts "Received command: " + "srvstart".green
#pp message #pp message
from_admin = message_from_admin?(message, adm) from_admin = message_from_admin?(message, adm)
auth_grp = is_chat_authorized?(message, @auth_chat) auth_grp = is_chat_authorized?(message, @auth_chat)
@ -52,7 +52,7 @@ def process_command_srvstart(message, command, adm)
end end
def process_command_srvstop(message, command, adm) def process_command_srvstop(message, command, adm)
puts "Received command: " + "srvstop".red #puts "Received command: " + "srvstop".red
from_admin = message_from_admin?(message, adm) from_admin = message_from_admin?(message, adm)
auth_grp = is_chat_authorized?(message, @auth_chat) auth_grp = is_chat_authorized?(message, @auth_chat)
if ! auth_grp && ! from_admin if ! auth_grp && ! from_admin

Loading…
Cancel
Save