Permalink
Browse files

Merge pull request #3 from mpapis/patch-1

just got word from #cinch that `,true` it's simpler way to include user name in the msg.
  • Loading branch information...
2 parents cc705a8 + 844e339 commit 81b84a45beb7fe7dba2ab9bfb90ec01acb640b4c @steveklabnik committed Mar 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/eployday/deploy.rb
View
4 lib/eployday/deploy.rb
@@ -9,9 +9,9 @@ class Deploy
def execute(m)
if PermissionChecker.allowed?(m.user)
- m.reply "#{m.user.nick}: beginning deploy."
+ m.reply "beginning deploy.", true
Kernel.system Eployday::Configuration[:command]
- m.reply "#{m.user.nick}: deploy finished."
+ m.reply "deploy finished.", true
end
end
end

0 comments on commit 81b84a4

Please sign in to comment.