Explorar o código

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

* change-server-keeps-old:
  * Properly set found_server to an int
Bryan Drewery %!s(int64=16) %!d(string=hai) anos
pai
achega
c6a1616093
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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