Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserver.cpp | 13 |
1 files changed, 11 insertions, 2 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() { | |||
51 | unsigned short int IRCServer::port() { | 54 | unsigned short int IRCServer::port() { |
52 | return m_port; | 55 | if(m_port) |
56 | return m_port; | ||
57 | |||
58 | return 6667; | ||
53 | } | 59 | } |
@@ -67,3 +73,6 @@ QString IRCServer::nick() { | |||
67 | QString IRCServer::realname() { | 73 | QString IRCServer::realname() { |
68 | return m_realname; | 74 | if(!m_realname.isEmpty()) |
75 | return m_realname; | ||
76 | |||
77 | return QString(QObject::tr("Using")) + " " + QString(APP_VERSION); | ||
69 | } | 78 | } |