diff options
author | Treeki <treeki@gmail.com> | 2014-01-27 06:19:15 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-01-27 06:19:15 +0100 |
commit | 8004d775c24dcfb63dcbd3366f86278ec808f0d7 (patch) | |
tree | c8373b3f1eef617a5963fb7950180df82b4acb7a /bouncer/core.h | |
parent | 1417c14821024bde33552573665973165613fa2a (diff) | |
download | bounce4-8004d775c24dcfb63dcbd3366f86278ec808f0d7.tar.gz bounce4-8004d775c24dcfb63dcbd3366f86278ec808f0d7.zip |
add commands for changing IRCNetworkConfig data
Diffstat (limited to '')
-rw-r--r-- | bouncer/core.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/bouncer/core.h b/bouncer/core.h index d7d54f3..8817b77 100644 --- a/bouncer/core.h +++ b/bouncer/core.h @@ -67,6 +67,7 @@ public: virtual void handleUserClosed(); void pushMessage(const char *str); + void notifyWindowRename(); }; class StatusWindow : public Window { @@ -303,13 +304,18 @@ private: }; struct IRCNetworkConfig { - char hostname[512]; - char nickname[128]; - char username[128]; - char realname[128]; - char password[128]; + std::string hostname, username, realname; + std::string nickname, altNick; + std::string password; int port; bool useTls; + + IRCNetworkConfig() { + username = "user"; + realname = "VulpIRC User"; + port = 6667; + useTls = false; + } }; class IRCServer : public Server { |