diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-21 15:35:15 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-21 15:35:15 +0000 |
commit | 60a1529f8fd691328a6f4e0499f40cfbd655bac7 (patch) | |
tree | 3f0b16c048aa1f8377b108ecc03d1a1bccd20ac4 /lib | |
parent | 5241be5d7aad06247f0e101a153a279b0bb11aa8 (diff) |
New Auth Framework: auth core botmodule was missing an m.reply
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/core/auth.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index f32dad1c..07cc83f4 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -359,8 +359,8 @@ class AuthModule < CoreBotModule case cmd.to_sym
when :show
- return _("you can't see the properties of %{user}") %
- {:user => butarget.username} if botuser != butarget &&
+ return m.reply(_("you can't see the properties of %{user}") %
+ {:user => butarget.username}) if botuser != butarget &&
!botuser.permit?("auth::show::other")
case splits[1]
|