Cleanup remove_channel()
remove_channel() is only called in direct response to a message from a server, so it always acts on from_server - remove the unnecessary server argument. The channel argument is always non-NULL - remove the dead code that removed all channels if a NULL channel was passed.
This commit is contained in:
@@ -61,7 +61,7 @@ void set_channel_mode (char *, int, char *);
|
||||
#endif /* INCLUDE_UNUSED_FUNCTIONS */
|
||||
ChannelList * BX_add_channel (char *, int, int);
|
||||
ChannelList * BX_add_to_channel (char *, char *, int, int, int, char *, char *, char *, int, int);
|
||||
void BX_remove_channel (char *, int);
|
||||
void BX_remove_channel (const char *);
|
||||
void BX_remove_from_channel (char *, char *, int, int, char *);
|
||||
int BX_is_on_channel (char *, int, char *);
|
||||
void list_channels (void);
|
||||
|
||||
Reference in New Issue
Block a user