From 60a1529f8fd691328a6f4e0499f40cfbd655bac7 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 21 Sep 2007 15:35:15 +0000 Subject: New Auth Framework: auth core botmodule was missing an m.reply --- lib/rbot/core/auth.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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] -- cgit v1.2.3