diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-12 23:20:00 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-12 23:20:00 +0000 |
commit | 46e1256d974e78436ea1842b66ba7283280a2f31 (patch) | |
tree | a35f12db733ca58a01eefae161c71672063b89d2 | |
parent | 6c3e3cb81675402f8fa8f74b514be6e8e489f8eb (diff) |
Remote Service Provider: increase security by preventing a malicious client from accessing the @bot instance variable
-rw-r--r-- | lib/rbot/core/remote.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/core/remote.rb b/lib/rbot/core/remote.rb index de0ade5f..43d883dd 100644 --- a/lib/rbot/core/remote.rb +++ b/lib/rbot/core/remote.rb @@ -235,6 +235,8 @@ module ::Irc m = RemoteMessage.new(@bot, client, cmd) @bot.remote_dispatcher.handle(m) end + + private :instance_variables, :instance_variable_get, :instance_variable_set end # The bot also manages a single (for the moment) remote dispatcher. This method |