Change channel argument of is_current_channel() to const char *

This commit is contained in:
Kevin Easton
2017-04-16 16:14:13 +10:00
parent 2eabfabc35
commit 53f3a34ca5
3 changed files with 5 additions and 5 deletions

View File

@@ -1552,9 +1552,8 @@ void set_query_nick(char *nick, char *host, char *cmd)
* channel and attempt to replace it by a non-current channel or the
* current_channel of window specified by value of delete
*/
int BX_is_current_channel(char *channel, int server, int delete)
int BX_is_current_channel(const char *channel, int server, int delete)
{
Window *tmp = NULL;
int found = 0;
@@ -1572,7 +1571,8 @@ int BX_is_current_channel(char *channel, int server, int delete)
}
}
}
return (found);
return found;
}
/*