Mercurial > irccd
changeset 157:9672dc88a158
Plugin history: style
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 23 May 2016 13:15:07 +0200 |
parents | 620ff1b794fd |
children | 52affa4ade71 |
files | plugins/history/history.js |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/history/history.js Mon May 23 13:14:55 2016 +0200 +++ b/plugins/history/history.js Mon May 23 13:15:07 2016 +0200 @@ -16,6 +16,14 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +// Plugin information. +info = { + author: "David Demelier <markand@malikania.fr>", + license: "ISC", + summary: "track nickname's history", + version: "@IRCCD_VERSION@" +}; + // Modules. var Directory = Irccd.Directory; var File = Irccd.File; @@ -24,14 +32,6 @@ var Server = Irccd.Server; var Util = Irccd.Util; -// Plugin information. -info = { - author: "David Demelier <markand@malikania.fr>", - license: "ISC", - summary: "track nickname's history", - version: "@IRCCD_VERSION@" -}; - Plugin.format = { "error": "#{nickname}, I'm sorry, something went wrong.", "seen": "#{nickname}, I've seen #{target} for the last time the %d-%m-%Y %H:%M", @@ -77,7 +77,7 @@ db = JSON.parse(str); } - /* Complete if needed */ + // Complete if needed. if (!db[server]) db[server] = {}; if (!db[server][channel]) @@ -118,7 +118,7 @@ function loadFormats() { - // --- DEPRECATED ------------------------------------------ + // --- DEPRECATED ------------------------------------------- // // This code will be removed. //