diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2006-10-20 12:50:08 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-10-20 12:50:08 +0000 |
commit | 9da0ca72a5f0ab96ef966a05ad59fd87ece0903c (patch) | |
tree | 90e9079962288fe8793eb415e1dbb57f75281e4a /src/core/expandos.c | |
parent | 49d7e3981e5c84d4359a7ddcea1f0bd1f96e5523 (diff) | |
download | irssi-9da0ca72a5f0ab96ef966a05ad59fd87ece0903c.zip |
uptime command by Lauri Nurmi with some modifications by me, bug #458.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4389 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/expandos.c')
-rw-r--r-- | src/core/expandos.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/expandos.c b/src/core/expandos.c index eb8ebed6..306c2223 100644 --- a/src/core/expandos.c +++ b/src/core/expandos.c @@ -18,6 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include "core.h" #include "module.h" #include "modules.h" #include "signals.h" @@ -52,7 +53,6 @@ static int timer_tag; static EXPANDO_REC *char_expandos[255]; static GHashTable *expandos; -static time_t client_start_time; static char *last_sent_msg, *last_sent_msg_body; static char *last_privmsg_from, *last_public_from; static char *sysname, *sysrelease, *sysarch; @@ -577,7 +577,6 @@ void expandos_init(void) settings_add_str("lookandfeel", "timestamp_format", "%H:%M"); settings_add_bool("lookandfeel", "chanmode_expando_strip", FALSE); - client_start_time = time(NULL); last_sent_msg = NULL; last_sent_msg_body = NULL; last_privmsg_from = NULL; last_public_from = NULL; last_timestamp = 0; |