Permalink
Browse files

support !who command in logdaemon too

  • Loading branch information...
1 parent c0c33fa commit b4f0bd62f318f5fbdc8eb4884a6e8595383eea0a @Arie committed Sep 13, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/logdaemon
View
@@ -13,7 +13,7 @@ class Handler < EM::Connection
def receive_data(data)
log_line = ActiveSupport::Multibyte::Chars.new(data).tidy_bytes[5..-1]
- if log_line.match(/(!timeleft|!extend|!end|!rcon.*|!rate.*|Started map\ "\w+\")/)
+ if log_line.match(/(!timeleft|!extend|!end|!rcon.*|!rate.*|!who|Started map\ "\w+\")/)
@cob16
cob16 Sep 13, 2016 Collaborator

is rate still a command?

@Arie
Arie Sep 13, 2016 Owner

No, I removed that a while ago.

LogWorker.perform_async(log_line)
end
matches = log_line.match(LogWorker::LOG_LINE_REGEX)

0 comments on commit b4f0bd6

Please sign in to comment.