summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircserver.cpp
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieirc/ircserver.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircserver.cpp b/noncore/net/opieirc/ircserver.cpp
index e27e41d..7e7e412 100644
--- a/noncore/net/opieirc/ircserver.cpp
+++ b/noncore/net/opieirc/ircserver.cpp
@@ -1,2 +1,5 @@
1#include "ircserver.h" 1#include "ircserver.h"
2#include "ircversion.h"
3
4#include <qobject.h>
2 5
@@ -51,3 +54,6 @@ QString IRCServer::name() {
51unsigned short int IRCServer::port() { 54unsigned short int IRCServer::port() {
55 if(m_port)
52 return m_port; 56 return m_port;
57
58 return 6667;
53} 59}
@@ -67,3 +73,6 @@ QString IRCServer::nick() {
67QString IRCServer::realname() { 73QString IRCServer::realname() {
74 if(!m_realname.isEmpty())
68 return m_realname; 75 return m_realname;
76
77 return QString(QObject::tr("Using")) + " " + QString(APP_VERSION);
69} 78}