From 4aa177dfd09e45aeb9ae446bd5f730d8d3a8a162 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 5 Jul 2012 01:50:07 -0400 Subject: [PATCH] Fix NameError --- earwigbot/irc/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/irc/data.py b/earwigbot/irc/data.py index 3e46e60..b68f27d 100644 --- a/earwigbot/irc/data.py +++ b/earwigbot/irc/data.py @@ -66,7 +66,7 @@ class Data(object): self._args = self.msg.strip().split()[1:] try: - self._command = args[0].lower() + self._command = self.args[0].lower() except IndexError: return