Преглед изворни кода

Merge branch 'change-server-keeps-old' into next

* change-server-keeps-old:
  * Properly set found_server to an int
Bryan Drewery пре 16 година
родитељ
комит
c6a1616093
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/chanprog.c

+ 1 - 1
src/chanprog.c

@@ -982,7 +982,7 @@ void notice(const char* target, const char* msg, int idx) {
 
 void check_removed_server(bool jump_no_match) {
   if (server_online) {
-    bool found_server = 0;
+    int found_server = 0;
 
     for (struct server_list *n = serverlist; n; n = n->next) {
       // Check if server list contains a match to the 'real server name' we're connected to