Change the channel mode flags from const ints in names.c to #define macros in names.h.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@134 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2011-08-30 14:50:42 +00:00
parent 3f8952f20a
commit c89a718fa1
5 changed files with 15 additions and 21 deletions

View File

@@ -1178,7 +1178,6 @@ static char my_buffer[IRCD_BUFFER_SIZE + 1];
if (window->current_channel/* && chan_is_connected(s, window->server)*/)
{
extern const int MODE_PRIVATE, MODE_SECRET;
int num;
if (get_int_var(HIDE_PRIVATE_CHANNELS_VAR) &&
is_channel_mode(window->current_channel,