Kaynağa Gözat

* Re-enable keepnick when disconnecting from server

Bryan Drewery 16 yıl önce
ebeveyn
işleme
6e0568203a
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      src/mod/server.mod/servmsg.c

+ 1 - 0
src/mod/server.mod/servmsg.c

@@ -1291,6 +1291,7 @@ static void disconnect_server(int idx, int dolost)
   }
   }
   end_burstmode();
   end_burstmode();
   reset_chans = 0;
   reset_chans = 0;
+  keepnick = 1;
   /* Invalidate the cmd_swhois cache callback data */
   /* Invalidate the cmd_swhois cache callback data */
   for (int i = 0; i < dcc_total; i++) {
   for (int i = 0; i < dcc_total; i++) {
     if (dcc[i].type && dcc[i].whois[0]) {
     if (dcc[i].type && dcc[i].whois[0]) {