Merge branch 'development' master
authorpk910 <philipp@zoelle1.de>
Sun, 11 Aug 2013 19:01:14 +0000 (21:01 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 11 Aug 2013 19:01:14 +0000 (21:01 +0200)
database.defaults.sql
src/modules/NeonServ.mod/cmd_neonserv_set.c

index 25e3336bb85da8b27e6920436f23fb24a0dab324..ea819170bf166db122734198aa066c4ef4f23e53 100644 (file)
@@ -1,11 +1,8 @@
 --
 -- Daten für Tabelle `bot_binds`
 --
---
--- Daten für Tabelle `bot_binds`
---
 
-INSERT INTO `bot_binds` (NULL, `botclass`, `botid`, `command`, `function`, `parameters`, `chan_access`, `global_access`, `flags`) VALUES
+INSERT INTO `bot_binds` (`id`, `botclass`, `botid`, `command`, `function`, `parameters`, `chan_access`, `global_access`, `flags`) VALUES
 (NULL, 1, 0, 'bind', 'bind', '', NULL, NULL, 0),
 (NULL, 1, 0, 'unbind', 'unbind', '', NULL, NULL, 0),
 (NULL, 1, 0, 'adduser', 'adduser', '', NULL, NULL, 0),
index 692823e09d1e5dc4ff3dc9a15c7b0e6591a151bb..e47b334b71ca2c82da5bc81a392c4e88b886a617 100644 (file)
@@ -246,7 +246,7 @@ CMD_BIND(neonserv_cmd_set) {
         }
         char **table_lines = table_end(table);
         for(i = 0; i < table->entrys; i++) {
-            reply(textclient, user, table_lines[i]);
+            reply(textclient, user, "%s", table_lines[i]);
         }
         table_free(table);
     }