From c1f3905672ef1f37c30d37babefc6348b9af137a Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 19 Dec 2013 20:28:27 +0000 Subject: [PATCH] destroy ints on destroy --- modules/reddit/reddit.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/reddit/reddit.js b/modules/reddit/reddit.js index b740003..9cd6605 100644 --- a/modules/reddit/reddit.js +++ b/modules/reddit/reddit.js @@ -203,6 +203,12 @@ var reddit = function(dbot) { this.commands['~addredditfeed'].access = 'moderator'; this.commands['~rmredditfeed'].access = 'moderator'; + this.onDestroy = function() { + for(i=0;i