diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-23 22:57:59 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-23 22:57:59 +0000 |
commit | 1fd6f8faf6d1be323a4cecac0ebfffab31c9d692 (patch) | |
tree | d0910781fd26b7e4a9d0883bf7888a076d025d52 /src/irc/notifylist | |
parent | 972c06ba17399eaeb1866d6f95c117b9f83e07bd (diff) | |
download | irssi-1fd6f8faf6d1be323a4cecac0ebfffab31c9d692.zip |
more changes from int xx:1 to unsigned int xx:1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@861 dbcabf3a-b0e7-0310-adc4-f8d773084564
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; |