Use server argument instead of from_server in rebuild_notify_ison()

It is only called in one place, where from_server is already set to the same as the argument.

Rename rebuild_all_ison() to rebuild_notify_ison_all().

Make rebuild_notify_ison() and rebuild_notify_ison_all() static, they are only called from
this file.
This commit is contained in:
Kevin Easton
2017-11-30 17:27:05 +11:00
parent f3f2ef6796
commit a4ef0798ac
2 changed files with 13 additions and 18 deletions

View File

@@ -49,8 +49,6 @@ typedef struct notify_alist
extern char *get_notify_nicks (int, int, char *, int);
void add_delay_notify (int);
void notify_count (int, int *, int *);
void rebuild_notify_ison (int);
void rebuild_all_ison (void);
void save_watch(FILE *);
BUILT_IN_COMMAND(watchcmd);
void show_watch_list (int);