Просмотр исходного кода

* Properly set found_server to an int

Bryan Drewery 16 лет назад
Родитель
Сommit
d033410a09
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