Explorar o código

* Remove 'ghetto text' for aqua/extort

svn: 3005
Bryan Drewery %!s(int64=20) %!d(string=hai) anos
pai
achega
8882146cc3
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      src/dccutil.c

+ 3 - 5
src/dccutil.c

@@ -75,15 +75,13 @@ colorbuf(char *buf, size_t len, int idx)
   static int cflags;
   int schar = 0;
   char buf3[1024] = "", buf2[1024] = "", c = 0;
-  bool upper = 0, aqua = 0;
-
-  if (idx != -1 && (!egg_strcasecmp(dcc[idx].nick, "aqua") || !egg_strcasecmp(dcc[idx].nick, "motion")))
-    aqua = 1;
+  bool upper = 0;
 
   for (size_t i = 0; i < len; i++) {
     c = buf[i];
     buf2[0] = 0;
 
+/*
     if (aqua) {
       if (upper) {
         upper = 0;
@@ -93,7 +91,7 @@ colorbuf(char *buf, size_t len, int idx)
         c = tolower(c);
       }
     }
-
+*/
     if (cidx) {
       if (schar) {                /* These are for $X replacements */
         schar--;                  /* Unset identifier int */