summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircserver.cpp
authorwazlaf <wazlaf>2002-09-20 23:28:14 (UTC)
committer wazlaf <wazlaf>2002-09-20 23:28:14 (UTC)
commit912092425248f7fc5155b4c7c46b7d00ec2676bc (patch) (unidiff)
tree5bbf746e83b2dffad89542c42031a573c34da751 /noncore/net/opieirc/ircserver.cpp
parentcd3df897c1b0ed93c2be3ab411011a0bdfe88bf9 (diff)
downloadopie-912092425248f7fc5155b4c7c46b7d00ec2676bc.zip
opie-912092425248f7fc5155b4c7c46b7d00ec2676bc.tar.gz
opie-912092425248f7fc5155b4c7c46b7d00ec2676bc.tar.bz2
support for client commands (only /join implemented so far), crash bugfix, fixed 2 leaks, server browser now includes a channel list
Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieirc/ircserver.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircserver.cpp b/noncore/net/opieirc/ircserver.cpp
index e16e2b2..e27e41d 100644
--- a/noncore/net/opieirc/ircserver.cpp
+++ b/noncore/net/opieirc/ircserver.cpp
@@ -5,4 +5,6 @@ IRCServer::IRCServer() {
5} 5}
6 6
7/* Setter implementations */
8
7void IRCServer::setHostname(QString hostname) { 9void IRCServer::setHostname(QString hostname) {
8 m_hostname = hostname; 10 m_hostname = hostname;
@@ -33,4 +35,10 @@ void IRCServer::setRealname(QString realname) {
33} 35}
34 36
37void IRCServer::setChannels(QString channels) {
38 m_channels = channels;
39}
40
41/* Getter implementations */
42
35QString IRCServer::hostname() { 43QString IRCServer::hostname() {
36 return m_hostname; 44 return m_hostname;
@@ -61,2 +69,6 @@ QString IRCServer::realname() {
61} 69}
62 70
71QString IRCServer::channels() {
72 return m_channels;
73}
74