Browse Source

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

* change-server-keeps-old:
  * Properly set found_server to an int
Bryan Drewery 16 years ago
parent
commit
c6a1616093
1 changed files with 1 additions and 1 deletions
  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) {
 void check_removed_server(bool jump_no_match) {
   if (server_online) {
   if (server_online) {
-    bool found_server = 0;
+    int found_server = 0;
 
 
     for (struct server_list *n = serverlist; n; n = n->next) {
     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
       // Check if server list contains a match to the 'real server name' we're connected to