diff options
| author | 2016-05-01 22:47:59 +0100 | |
|---|---|---|
| committer | 2016-05-01 22:47:59 +0100 | |
| commit | bdf21643a3825c6f881275aa05a44dbe6e98ac55 (patch) | |
| tree | 208e0d7c691d09e82775333c164fe897410c19ac /modules/quotes.py | |
| parent | added a command to quotes.py to get a random quote from a category. (diff) | |
made set/channelset settings consistent.
Diffstat (limited to 'modules/quotes.py')
| -rw-r--r-- | modules/quotes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/quotes.py b/modules/quotes.py index 58f4075e..d09bba58 100644 --- a/modules/quotes.py +++ b/modules/quotes.py @@ -30,7 +30,7 @@ class Module(object): if category and quote: setting = "quotes-%s" % category quotes = event["server"].get_setting(setting, []) - quotes.append([event["user"].name, time.time(), quote]) + quotes.append([event["user"].name, int(time.time()), quote]) event["server"].set_setting(setting, quotes) event["stdout"].write("Quote added") else: |
