koraktor/steam-condenser-ruby

View on GitHub
lib/steam-condenser/error/rcon_ban.rb

Summary

Maintainability
A
0 mins
Test Coverage
# This code is free software; you can redistribute it and/or modify it under
# the terms of the new BSD License.
#
# Copyright (c) 2009-2012, Sebastian Staudt

require 'steam-condenser/error'

module SteamCondenser

  # This error class indicates that the IP address your accessing the game
  # serverĀ from has been banned by the server
  #
  # You or the server operator will have to unban your IP address on the
  # server.
  #
  # @author Sebastian Staudt
  # @see GameServer#rcon_auth
  class Error::RCONBan < Error

    # Creates a new `Error::RCONBan` instance
    def initialize
      super 'You have been banned from this server.'
    end

  end
end