summaryrefslogtreecommitdiff
path: root/src/irc/bot/botnet.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-23 22:57:59 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-23 22:57:59 +0000
commit1fd6f8faf6d1be323a4cecac0ebfffab31c9d692 (patch)
treed0910781fd26b7e4a9d0883bf7888a076d025d52 /src/irc/bot/botnet.h
parent972c06ba17399eaeb1866d6f95c117b9f83e07bd (diff)
downloadirssi-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/bot/botnet.h')
-rw-r--r--src/irc/bot/botnet.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/irc/bot/botnet.h b/src/irc/bot/botnet.h
index e8b436d5..46489099 100644
--- a/src/irc/bot/botnet.h
+++ b/src/irc/bot/botnet.h
@@ -11,7 +11,7 @@ typedef struct _botnet_rec BOTNET_REC;
typedef struct {
char *name;
GSList *nicks; /* NICK_RECs */
- int chanop:1;
+ unsigned int chanop:1;
GSList *banlist;
GSList *ebanlist;
@@ -35,11 +35,11 @@ typedef struct {
BOTNET_REC *botnet;
void *link; /* NULL, BOT_UPLINK_REC or BOT_DOWNLINK_REC */
- int uplink:1; /* this is our uplink */
- int pass_ok:1; /* downlink's password was ok */
- int connected:1; /* bot is in this botnet now */
- int disconnect:1; /* just disconnecting this bot.. */
- int master:1; /* this bot is the bot network's current master */
+ unsigned int uplink:1; /* this is our uplink */
+ unsigned int pass_ok:1; /* downlink's password was ok */
+ unsigned int connected:1; /* bot is in this botnet now */
+ unsigned int disconnect:1; /* just disconnecting this bot.. */
+ unsigned int master:1; /* this bot is the bot network's current master */
char *nick; /* bot's unique nick in botnet */
int priority;
@@ -71,9 +71,9 @@ typedef struct {
} BOT_DOWNLINK_REC;
struct _botnet_rec {
- int connected:1;
- int autoconnect:1;
- int reconnect:1;
+ unsigned int connected:1;
+ unsigned int autoconnect:1;
+ unsigned int reconnect:1;
char *name; /* botnet name */
char *nick; /* our nick in botnet */