Sfoglia il codice sorgente

* Misc compile fixes

svn: 1974
Bryan Drewery 21 anni fa
parent
commit
cc48b96cf5
3 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 0 1
      src/cmds.c
  2. 1 0
      src/flags.c
  3. 2 0
      src/mod/server.mod/server.c

+ 0 - 1
src/cmds.c

@@ -1035,7 +1035,6 @@ static void cmd_boot(int idx, char *par)
 {
   char *who = NULL;
   int i, ok = 0;
-  struct userrec *u2 = NULL;
 
   if (!par[0]) {
     dprintf(idx, "Usage: boot nick[@bot]\n");

+ 1 - 0
src/flags.c

@@ -14,6 +14,7 @@
 #include "dccutil.h"
 #include "userent.h"
 #include "users.h"
+#include "chanprog.h"
 
 flag_t FLAG[128];
 

+ 2 - 0
src/mod/server.mod/server.c

@@ -529,6 +529,8 @@ void queue_server(int which, char *buf, int len)
   if (h->tot < maxqmsg) {
     /* Don't queue msg if it's already queued?  */
     if (!doublemsg) {
+      struct msgq *tq = NULL, *tqq = NULL;
+
       for (tq = tempq.head; tq; tq = tqq) {
 	tqq = tq->next;
 	if (!egg_strcasecmp(tq->msg, buf)) {