From 56570b3c9c33a1212f27bd3e9c9a5b53bbda2e2f Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 5 Dec 2013 12:35:02 +0000 Subject: [PATCH] Aka: Make sure the length of the 'args' list is always strictly decreasing when making a recursive call. --- plugins/Aka/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Aka/plugin.py b/plugins/Aka/plugin.py index 973ff6a53..c215a388f 100644 --- a/plugins/Aka/plugin.py +++ b/plugins/Aka/plugin.py @@ -271,7 +271,7 @@ class Aka(callbacks.Plugin): first = args[0] for cb in self.cbs: if first == cb.canonicalName(): - return cb.getCommand(args) + return cb.getCommand(args[1:]) if first == self.canonicalName() and len(args) > 1: ret = self.getCommand(args[1:]) if ret: