]> bicyclesonthemoon.info Git - ott/enhance/commitdiff
Now they will know.
authorb <b@0d794883-4e4e-4f65-aa7a-0e7f5947bab5>
Sat, 11 Jan 2014 21:43:15 +0000 (21:43 +0000)
committerb <b@0d794883-4e4e-4f65-aa7a-0e7f5947bab5>
Sat, 11 Jan 2014 21:43:15 +0000 (21:43 +0000)
git-svn-id: svn://botcastle1b/npb@23 0d794883-4e4e-4f65-aa7a-0e7f5947bab5

npbd
npbd.cpp

diff --git a/npbd b/npbd
index b0a9d9032517e131b0cd9a1feecf350446282d51..26ef8a26a27fefe5522336508a5ba3cff1e23fd0 100755 (executable)
Binary files a/npbd and b/npbd differ
index 0fa22889ab67e26fc2fea489eb598af1f631dd17..b0cbca0db2a2e91578420dbadbccae467714a958 100644 (file)
--- a/npbd.cpp
+++ b/npbd.cpp
@@ -21,6 +21,7 @@
 #define NPB_PATH  "./npb"
 #define RM_PATH   "/bin/rm"
 #define LOG_PATH  "/var/log/npb/npb.log"
+#define USERAGENT "NewpixbOTTification\x20(1190.bicyclesonthemoon.dnsd.info/npb/npb.htm)"
 
 int main (int argc, char *argv[]);
 void mustard(int mustard);
@@ -57,7 +58,7 @@ int main (int argc, char *argv[])
                sub=fork();
                if(sub==0)
                {
-                       t=execl(WGET_PATH,WGET_PATH,"-q","-O",path,url,(char *)0);
+                       t=execl(WGET_PATH,WGET_PATH,"-q","-U",USERAGENT,"-O",path,url,(char *)0);
                        exit(t);
                }
                waitpid(sub,&t,0);