Mercurial > xib
diff commands.py @ 203:2a81c480439a
renamed camelCased functions
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Thu, 25 Feb 2010 23:29:39 +0100 |
parents | 5af6c828c606 |
children | d527d7b75f56 |
line wrap: on
line diff
--- a/commands.py +++ b/commands.py @@ -63,7 +63,7 @@ def _find_bridges(bot, args_array): except IndexError: ret += '\nInvalid bridge number "'+str(bn)+'".' except ValueError: - found_bridges = bot.findBridges(arg) + found_bridges = bot.find_bridges(arg) if len(found_bridges) == 0: ret += '\nNo bridge found matching "'+arg+'".' else: @@ -152,7 +152,7 @@ def change_bridges_mode(bot, command, ar found_bridges, ret = _find_bridges(bot, args.bridge_id) for found_bridge in found_bridges: - r = found_bridge.changeMode(args.new_mode) + r = found_bridge.change_mode(args.new_mode) if r: ret += r+'\n' @@ -245,7 +245,7 @@ def remove_bridges(bot, command, args_ar found_bridges, ret = _find_bridges(bot, args.bridge_id) for found_bridge in found_bridges: - bot.removeBridge(found_bridge) + bot.remove_bridge(found_bridge) return ret+'Bridges removed.'