From bdd6c6e4716cf26b2bf7bad79177dfa9fa0cc4bc Mon Sep 17 00:00:00 2001 From: GLolol Date: Wed, 23 Apr 2014 17:30:33 -0700 Subject: [PATCH] SupyMisc: bugfix --- SupyMisc/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SupyMisc/plugin.py b/SupyMisc/plugin.py index 01948a0..42db051 100644 --- a/SupyMisc/plugin.py +++ b/SupyMisc/plugin.py @@ -58,13 +58,13 @@ class SupyMisc(callbacks.Plugin): """ Returns repeated times. must be a positive integer. To keep leading and trailing spaces, it is recommended to quote the - argument "like this". """ + argument " like this ". """ max = self.registryValue("repeat.max") if num <= max: irc.reply(text * num) else: irc.error("The value given is too large. Current " - "maximum: {}".format(max)) + "maximum: {}".format(max), Raise=True) repeat = wrap(repeat, ['positiveInt', 'text']) ### Generic informational commands (ident fetcher, channel counter, etc.)