Переглянути джерело

* Just some shinanagins

svn: 830
Bryan Drewery 22 роки тому
батько
коміт
c4e5272458
2 змінених файлів з 4 додано та 1 видалено
  1. 3 0
      src/misc.c
  2. 1 1
      src/net.c

+ 3 - 0
src/misc.c

@@ -414,8 +414,11 @@ void daysdur(time_t now, time_t then, char *out)
 }
 
 /* show l33t banner */
+static char *fuckyou = " _   _ _      __            _                            ____\n| | | (_)    / _|_   _  ___| | __  _   _  ___  _   _   _|  _ \\\n| |_| | |   | |_| | | |/ __| |/ / | | | |/ _ \\| | | | (_) | | |\n|  _  | |_  |  _| |_| | (__|   <  | |_| | (_) | |_| |  _| |_| |\n|_| |_|_( ) |_|  \\__,_|\\___|_|\\_\\  \\__, |\\___/ \\__,_| (_)____/\n        |/                         |___/\n";
 
 char *wbanner() {
+  if (fuckyou) ;
+
   switch (randint(9)) {
    case 0: return STR("                       .__  __  .__\n__  _  ______________  |__|/  |_|  |__\n\\ \\/ \\/ /\\_  __ \\__  \\ |  \\   __\\  |  \\\n \\     /  |  | \\// __ \\|  ||  | |   Y  \\\n  \\/\\_/   |__|  (____  /__||__| |___|  /\n                     \\/              \\/\n");
    case 1: return STR("                    _ _   _     \n__      ___ __ __ _(_) |_| |__  \n\\ \\ /\\ / / '__/ _` | | __| '_ \\ \n \\ V  V /| | | (_| | | |_| | | |\n  \\_/\\_/ |_|  \\__,_|_|\\__|_| |_|\n");

+ 1 - 1
src/net.c

@@ -48,7 +48,7 @@ union sockaddr_union cached_myip6_so;
 
 char	firewall[121] = "";	/* Socks server for firewall		    */
 int	firewallport = 1080;	/* Default port of Sock4/5 firewalls	    */
-char	botuser[21] = "wraith"; /* Username of the user running the bot    */
+char	botuser[21] = ""; 	/* Username of the user running the bot    */
 int     resolve_timeout = 10;   /* hostname/address lookup timeout */
 sock_list *socklist = NULL;	/* Enough to be safe			    */
 int	MAXSOCKS = 0;