svn: 1974
@@ -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");
@@ -14,6 +14,7 @@
#include "dccutil.h"
#include "userent.h"
#include "users.h"
+#include "chanprog.h"
flag_t FLAG[128];
@@ -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)) {