summaryrefslogtreecommitdiff
path: root/ircserver.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-01-21 00:41:55 +0100
committerTreeki <treeki@gmail.com>2014-01-21 00:41:55 +0100
commit8b32f42df825a03284f5c340499394b93dc1a65d (patch)
tree88481b62ea3d9609d352857127d13ce3624fd9a2 /ircserver.cpp
parent84e469bef68f67cd56c4a643dcfc9d050c5cd398 (diff)
downloadbounce4-8b32f42df825a03284f5c340499394b93dc1a65d.tar.gz
bounce4-8b32f42df825a03284f5c340499394b93dc1a65d.zip
refactoring: add basic implementation of the IRCServer class
Diffstat (limited to '')
-rw-r--r--ircserver.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ircserver.cpp b/ircserver.cpp
new file mode 100644
index 0000000..94456dc
--- /dev/null
+++ b/ircserver.cpp
@@ -0,0 +1,9 @@
+#include "core.h"
+
+IRCServer::IRCServer(Bouncer *_bouncer) : Server(_bouncer) {
+ bouncer = _bouncer;
+}
+
+void IRCServer::connect() {
+ Server::connect(config.hostname, config.port, config.useTls);
+}