summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>1999-12-19 19:00:11 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>1999-12-19 19:00:11 +0000
commitb36b88af1b9f95110480a8840f19786e90b55844 (patch)
tree13d8d72a0611baf0465082cdd7bd7b0d1c6d2f88
parentda86294a25f8aa85365702d5fa3d512570f0fe8d (diff)
downloadirssi-b36b88af1b9f95110480a8840f19786e90b55844.zip
IRC Network specific settings: nick, username, realname,
max. kicks/modes/msgs per command. Keeps track of "wanted nick", ie. the nick you specified in the setup or to /server or /nick. When reconnecting to server it always tries the wanted nick before falling back to alternate nicks. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@98 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/common-setup.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common-setup.h b/src/common-setup.h
index c30166d5..ee174f8d 100644
--- a/src/common-setup.h
+++ b/src/common-setup.h
@@ -37,6 +37,16 @@ typedef struct
}
SETUP_SERVER_REC;
+typedef struct
+{
+ gchar *name;
+ gchar *nick;
+ gchar *username;
+ gchar *realname;
+ gint max_kicks, max_msgs, max_modes; /* max. number of kicks/msgs/mode changes per command */
+}
+IRCNET_REC;
+
extern GList *setupservers; /* list of local servers */
extern GList *ircnets; /* list of available ircnets */