author | skyhusker <skyhusker> | 2005-01-14 20:54:49 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-01-14 20:54:49 (UTC) |
commit | a808497c334275c4b73e31a9bea37f84e344964d (patch) (unidiff) | |
tree | 490b0396494b83b1145fc65ab81e3e437af9aed5 /noncore/net/opieirc/ircserver.cpp | |
parent | b6c5c3b8b1ab130217678ec789db573ffc52c3eb (diff) | |
download | opie-a808497c334275c4b73e31a9bea37f84e344964d.zip opie-a808497c334275c4b73e31a9bea37f84e344964d.tar.gz opie-a808497c334275c4b73e31a9bea37f84e344964d.tar.bz2 |
Added message queue, now topics always appear in channel tab
Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserver.cpp | 9 |
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,3 +1,6 @@ | |||
1 | #include "ircserver.h" | 1 | #include "ircserver.h" |
2 | #include "ircversion.h" | ||
3 | |||
4 | #include <qobject.h> | ||
2 | 5 | ||
3 | IRCServer::IRCServer() { | 6 | IRCServer::IRCServer() { |
@@ -50,5 +53,8 @@ QString IRCServer::name() { | |||
50 | 53 | ||
51 | unsigned short int IRCServer::port() { | 54 | unsigned short int IRCServer::port() { |
55 | if(m_port) | ||
52 | return m_port; | 56 | return m_port; |
57 | |||
58 | return 6667; | ||
53 | } | 59 | } |
54 | 60 | ||
@@ -66,5 +72,8 @@ QString IRCServer::nick() { | |||
66 | 72 | ||
67 | QString IRCServer::realname() { | 73 | QString 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 | } |
70 | 79 | ||