Move reinstate_user_modes() and update_user_mode() from funny.c to server.c and parse.c
Move these functions where they belong.
This commit is contained in:
@@ -1918,6 +1918,13 @@ void clear_user_modes (int gindex)
|
||||
set_umode(gindex);
|
||||
}
|
||||
|
||||
void reinstate_user_modes(int server)
|
||||
{
|
||||
char *modes = get_umode(server);
|
||||
if (modes && *modes)
|
||||
my_send_to_server(server, "MODE %s +%s", get_server_nickname(server), modes);
|
||||
}
|
||||
|
||||
/*
|
||||
* Encapsulates everything we need to change our AWAY status.
|
||||
* This improves greatly on having everyone peek into that member.
|
||||
|
||||
Reference in New Issue
Block a user