diff options
Diffstat (limited to 'src/irc/notifylist')
-rw-r--r-- | src/irc/notifylist/module.h | 12 | ||||
-rw-r--r-- | src/irc/notifylist/notifylist.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/irc/notifylist/module.h b/src/irc/notifylist/module.h index ec67bcbb..ddffd9a1 100644 --- a/src/irc/notifylist/module.h +++ b/src/irc/notifylist/module.h @@ -9,13 +9,13 @@ typedef struct { char *user, *host, *realname, *awaymsg; int idle_time; - int host_ok:1; /* host matches the one in notifylist = this is the right person*/ - int away_ok:1; /* not away, or we don't care about it */ - int idle_ok:1; /* idle time is low enough, or we don't care about it */ + unsigned int host_ok:1; /* host matches the one in notifylist = this is the right person*/ + unsigned int away_ok:1; /* not away, or we don't care about it */ + unsigned int idle_ok:1; /* idle time is low enough, or we don't care about it */ - int away:1; /* nick is away */ - int join_announced:1; /* join to IRC has been announced */ - int idle_changed:1; /* idle time is lower than in last check */ + unsigned int away:1; /* nick is away */ + unsigned int join_announced:1; /* join to IRC has been announced */ + unsigned int idle_changed:1; /* idle time is lower than in last check */ time_t last_whois; } NOTIFY_NICK_REC; diff --git a/src/irc/notifylist/notifylist.h b/src/irc/notifylist/notifylist.h index 65ce4d18..86a30bf4 100644 --- a/src/irc/notifylist/notifylist.h +++ b/src/irc/notifylist/notifylist.h @@ -6,7 +6,7 @@ typedef struct { char **ircnets; /* if non-NULL, check only from these irc networks */ /* notify when AWAY status changes (uses /USERHOST) */ - int away_check:1; + unsigned int away_check:1; /* notify when idle time is reset and it was bigger than this (uses /WHOIS and PRIVMSG events) */ int idle_check_time; |