summaryrefslogtreecommitdiff
path: root/bouncer/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'bouncer/core.h')
-rw-r--r--bouncer/core.h16
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 {