Commit 80ef6900 authored by Andreas Nedbal's avatar Andreas Nedbal

Merge pull request #11 from nilsding/master

yet another bugfix
parents 05d24e92 fbb58a26
......@@ -141,6 +141,7 @@ def start(irc, mumble)
mumble.on_text_message do |msg|
message = msg.message.gsub(/\s+/m, ' ').strip.split(" ")
command = message[0]
next if command.nil?
content = message.drop(1).join(" ")
prefix_config = APP_CONFIG['prefix']
prefix_current = command.slice!(0)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment