Browse Source

content -> message, oops

tags/v0.1^2
Ben Kurtovic 13 years ago
parent
commit
e5ba64bef8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      irc/commands/remind.py

+ 2
- 2
irc/commands/remind.py View File

@@ -31,8 +31,8 @@ class Remind(BaseCommand):
except ValueError: except ValueError:
self.connection.reply(data, "the time must be given as an integer, in seconds.") self.connection.reply(data, "the time must be given as an integer, in seconds.")
return return
content = ' '.join(data.args[1:])
if not content:
message = ' '.join(data.args[1:])
if not message:
self.connection.reply(data, "what message do you want me to give you when time is up?") self.connection.reply(data, "what message do you want me to give you when time is up?")
return return




Loading…
Cancel
Save