]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-kill.c
fix stupid mistake when determining the size of the channel in gline/kill ...
[irc/quakenet/newserv.git] / newsearch / ns-kill.c
index ef9ac9f85eb773172abd95eb34d09969ab8e52f3..a1b7e7ec0978cc9027596c325817cf834a4adcab 100644 (file)
@@ -64,7 +64,7 @@ void *kill_exe(struct searchNode *thenode, void *theinput) {
   if (localdata->type == SEARCHTYPE_CHANNEL) {
     cip = (chanindex *)theinput;
     cip->marker = localdata->marker;
-    localdata->count += (localdata->count + cip->channel->users->totalusers);
+    localdata->count += cip->channel->users->totalusers;
   }
   else {
     np = (nick *)theinput;