Add a quit reason to the log messages printed by !log.

This commit is contained in:
Jan Vidar Krey
2009-08-02 22:53:25 +02:00
parent 1f24bd6812
commit 4666311516
7 changed files with 32 additions and 30 deletions

View File

@@ -85,7 +85,7 @@ struct hub_logout_info
char cid[MAX_CID_LEN+1];
char nick[MAX_NICK_LEN+1];
struct ip_addr_encap addr;
int reason;
enum user_quit_reason reason;
};
struct hub_info
@@ -358,5 +358,6 @@ extern void hub_disconnect_user(struct hub_info* hub, struct hub_user* user, int
*/
extern void hub_logout_log(struct hub_info* hub, struct hub_user* user);
#endif /* HAVE_UHUB_HUB_H */