4
0

vars.c 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. * Copyright (C) 2000,2001 Florian Sander
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version 2
  7. * of the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. */
  18. static char statsfile[121] = "statsmod.dat";
  19. static char webstats[510] = "words letters lines actions smileys joins kicks modes topics minutes";
  20. static char graphstats[510] = "words letters lines actions smileys joins kicks modes topics minutes";
  21. static char stat_reply[128] = "words letters smileys minutes";
  22. static char graphgif[128] = "";
  23. static char graphcolor[20] = "blue";
  24. static char webdir[256] = "../public_html";
  25. static char smileys[128] = ":-) :) ;) ;-) ^_^ :-D :-P :P =) ;D";
  26. static char badflags[20] = "ofvb|ofv";
  27. static char nostatsflags[20] = "b|-";
  28. static char nopeak[20] = "b|-";
  29. static char network[41] = "unknown-net";
  30. static char default_slang[21] = "en";
  31. static char default_skin[21] = "classic";
  32. static char binary_url[121] = "";
  33. static int statsfilemode = 0600;
  34. static int webnr = 15;
  35. static int graphnr = 15;
  36. static int stats_save_time = 10;
  37. static int autoadd = 5;
  38. // static int stat_expire_user = 30;
  39. // static int stat_expire_delay = 30;
  40. static int write_today = 1;
  41. static int maxstat_thr = 0;
  42. static int maxstat_time = 0;
  43. static int maxlivestats_thr = 0;
  44. static int maxlivestats_time = 0;
  45. static int mstat_thr = 0;
  46. static time_t mstat_time = 0;
  47. static int livestats_timeout;
  48. static int offset = 0;
  49. static int topwords_limit = 5;
  50. static int quote_freq = 10;
  51. static int log_wordstats = 0;
  52. static int lasthour = 0;
  53. static int lastmonth = 0;
  54. static int min_word_length = 0;
  55. static int table_color = 0x3850B8;
  56. static int fade_table_to = 0x000000;
  57. static int table_border = 0;
  58. static int log_urls = 1;
  59. static int kick_context = 0;
  60. static int display_kicks = 0;
  61. static int display_average_users = 1;
  62. static int show_userlist = 1;
  63. static int show_usersonchan = 1;
  64. static int list_secret_chans = 1;
  65. static int autoadd_min_lines = 0;
  66. static int min_lines = 0;
  67. static int expire_base = 7; /* Minimum time before user gets deleted */
  68. static int expire_factor = 25; /* percent value which defines how much of
  69. a user's "age" he can stay away without
  70. being expired */