src/parse.c
changeset 14 fe8adc56b109
parent 13 d3554afaa768
child 15 f19c1f9b4cd3
--- a/src/parse.c
+++ b/src/parse.c
@@ -19,6 +19,10 @@
 #define DATABASE_FILE "/var/lib/nobody/data/mcbot.dat"
 #endif
 
+#ifndef SOURCE_URL
+#define SOURCE_URL "http://largo.homelinux.org/cgi-bin/gitweb.cgi?p=net/mcbot.git"
+#endif
+
 const
 char *COMMAND_LIST[] = {
     "!help      Known Commands: join(1), leave(2), add(3), replace(4), delete(5), list(6), search(7), info(8)\r\n",
@@ -179,7 +183,7 @@
 
             case 8:            /* !info */
                 snprintf (msg, 512, "PRIVMSG %s :I am MCBot-%1.2f and my source code can be found on %s\r\n",
-                          message->channel, VERSION, "http://largo.homelinux.org/svn/c/mcbot/trunk");
+                          message->channel, VERSION, SOURCE_URL);
                 return msg;
 
             case 9:            /* !ping */