Răsfoiți Sursa

* Possibly fixed slowpart bug

svn: 278
Bryan Drewery 22 ani în urmă
părinte
comite
61b6c7f47b
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      src/mod/channels.mod/channels.c

+ 1 - 0
src/mod/channels.mod/channels.c

@@ -345,6 +345,7 @@ Context;
 Context;
       if (chan) /* this should NOT be necesary, but some unforseen bug requires it.. */
         remove_channel(chan);
+      break;    /* if we keep looping, we'll segfault. */
 Context;
     /* slowjoin */
     } else if ((chan->channel.jointime) && (chan->channel.jointime < now)) {